From 7c23bf0e58bc2f51c98be3ff348875273af7d600 Mon Sep 17 00:00:00 2001 From: Gareth Parker Date: Fri, 23 Aug 2024 23:22:57 +0100 Subject: [PATCH] Generate concrete methods for setters rather than using the MagicMethodsTrait --- src/API/Message/AddDelegateType.php | 24 +- .../Message/ApplyConversationActionType.php | 12 +- .../Message/ArrayOfResponseMessagesType.php | 540 +++++++++++++-- .../AttachmentInfoResponseMessageType.php | 13 +- .../BaseDelegateResponseMessageType.php | 12 +- src/API/Message/BaseDelegateType.php | 13 +- src/API/Message/BaseMoveCopyFolderType.php | 25 +- src/API/Message/BaseMoveCopyItemType.php | 43 +- src/API/Message/BaseResponseMessageType.php | 13 +- .../Message/ConvertIdResponseMessageType.php | 13 +- src/API/Message/ConvertIdType.php | 25 +- src/API/Message/CreateAttachmentType.php | 25 +- src/API/Message/CreateFolderType.php | 25 +- src/API/Message/CreateItemType.php | 49 +- .../CreateManagedFolderRequestType.php | 24 +- .../Message/CreateUserConfigurationType.php | 13 +- .../DelegateUserResponseMessageType.php | 13 +- .../DeleteAttachmentResponseMessageType.php | 13 +- src/API/Message/DeleteAttachmentType.php | 12 +- src/API/Message/DeleteFolderType.php | 25 +- src/API/Message/DeleteItemType.php | 49 +- .../Message/DeleteUserConfigurationType.php | 13 +- src/API/Message/DisconnectPhoneCallType.php | 13 +- src/API/Message/EmptyFolderType.php | 49 +- .../Message/ExpandDLResponseMessageType.php | 89 ++- src/API/Message/ExpandDLType.php | 13 +- .../ExportItemsResponseMessageType.php | 25 +- src/API/Message/ExportItemsType.php | 12 +- .../FindConversationResponseMessageType.php | 12 +- src/API/Message/FindConversationType.php | 36 +- .../Message/FindFolderResponseMessageType.php | 13 +- src/API/Message/FindFolderType.php | 73 +- .../Message/FindItemResponseMessageType.php | 13 +- src/API/Message/FindItemType.php | 144 +++- ...tatisticsByKeywordsResponseMessageType.php | 13 +- .../FindMailboxStatisticsByKeywordsType.php | 150 ++++- .../FindMessageTrackingReportRequestType.php | 156 ++++- ...ssageTrackingReportResponseMessageType.php | 60 +- .../Message/FolderInfoResponseMessageType.php | 13 +- src/API/Message/FreeBusyResponseType.php | 25 +- src/API/Message/GetAttachmentType.php | 24 +- .../GetDelegateResponseMessageType.php | 13 +- src/API/Message/GetDelegateType.php | 36 +- .../Message/GetEventsResponseMessageType.php | 13 +- src/API/Message/GetEventsType.php | 25 +- src/API/Message/GetFolderType.php | 25 +- src/API/Message/GetInboxRulesRequestType.php | 13 +- src/API/Message/GetInboxRulesResponseType.php | 36 +- src/API/Message/GetItemType.php | 25 +- .../GetMailTipsResponseMessageType.php | 12 +- src/API/Message/GetMailTipsType.php | 36 +- .../GetMessageTrackingReportRequestType.php | 100 ++- ...ssageTrackingReportResponseMessageType.php | 48 +- ...swordExpirationDateResponseMessageType.php | 13 +- .../Message/GetPasswordExpirationDateType.php | 13 +- ...honeCallInformationResponseMessageType.php | 13 +- .../Message/GetPhoneCallInformationType.php | 13 +- .../GetRoomListsResponseMessageType.php | 12 +- .../Message/GetRoomsResponseMessageType.php | 12 +- src/API/Message/GetRoomsType.php | 13 +- .../GetServerTimeZonesResponseMessageType.php | 12 +- src/API/Message/GetServerTimeZonesType.php | 36 +- ...erviceConfigurationResponseMessageType.php | 12 +- .../Message/GetServiceConfigurationType.php | 24 +- .../GetSharingFolderResponseMessageType.php | 13 +- src/API/Message/GetSharingFolderType.php | 37 +- .../GetSharingMetadataResponseMessageType.php | 24 +- src/API/Message/GetSharingMetadataType.php | 36 +- .../GetStreamingEventsResponseMessageType.php | 36 +- src/API/Message/GetStreamingEventsType.php | 24 +- .../GetUserAvailabilityRequestType.php | 48 +- .../GetUserAvailabilityResponseType.php | 24 +- ...etUserConfigurationResponseMessageType.php | 13 +- src/API/Message/GetUserConfigurationType.php | 24 +- .../Message/GetUserOofSettingsRequestType.php | 13 +- .../GetUserOofSettingsResponseType.php | 37 +- .../Message/ItemInfoResponseMessageType.php | 13 +- .../Message/MailTipsResponseMessageType.php | 13 +- .../PlayOnPhoneResponseMessageType.php | 13 +- src/API/Message/PlayOnPhoneType.php | 25 +- src/API/Message/RefreshSharingFolderType.php | 13 +- src/API/Message/RemoveDelegateType.php | 12 +- .../ResolveNamesResponseMessageType.php | 13 +- src/API/Message/ResolveNamesType.php | 77 ++- src/API/Message/ResponseMessageType.php | 61 +- src/API/Message/SendItemType.php | 53 +- .../SendNotificationResponseMessageType.php | 13 +- .../Message/SendNotificationResultType.php | 13 +- ...erviceConfigurationResponseMessageType.php | 37 +- .../Message/SetUserOofSettingsRequestType.php | 25 +- .../SetUserOofSettingsResponseType.php | 13 +- .../Message/SubscribeResponseMessageType.php | 25 +- src/API/Message/SubscribeType.php | 37 +- src/API/Message/SuggestionsResponseType.php | 24 +- ...SyncFolderHierarchyResponseMessageType.php | 49 +- src/API/Message/SyncFolderHierarchyType.php | 37 +- .../SyncFolderItemsResponseMessageType.php | 49 +- src/API/Message/SyncFolderItemsType.php | 72 +- src/API/Message/UnsubscribeType.php | 13 +- src/API/Message/UpdateDelegateType.php | 24 +- src/API/Message/UpdateFolderType.php | 12 +- .../Message/UpdateInboxRulesRequestType.php | 49 +- .../Message/UpdateInboxRulesResponseType.php | 12 +- .../Message/UpdateItemResponseMessageType.php | 13 +- src/API/Message/UpdateItemType.php | 60 +- .../Message/UpdateUserConfigurationType.php | 13 +- .../UploadItemsResponseMessageType.php | 13 +- src/API/Message/UploadItemsType.php | 12 +- src/API/Type/AbsoluteDateTransitionType.php | 13 +- .../AbsoluteMonthlyRecurrencePatternType.php | 13 +- .../AbsoluteYearlyRecurrencePatternType.php | 25 +- src/API/Type/AggregateOnType.php | 52 +- src/API/Type/AlternateIdBaseType.php | 16 +- src/API/Type/AlternateIdType.php | 43 +- src/API/Type/AlternatePublicFolderIdType.php | 13 +- .../Type/AlternatePublicFolderItemIdType.php | 13 +- src/API/Type/AppendToFolderFieldType.php | 61 +- src/API/Type/AppendToItemFieldType.php | 133 +++- src/API/Type/ArrayOfAttachmentsType.php | 24 +- .../Type/ArrayOfAttendeeConflictDataType.php | 48 +- src/API/Type/ArrayOfDLExpansionType.php | 88 ++- src/API/Type/ArrayOfFoldersType.php | 60 +- src/API/Type/ArrayOfRealItemsType.php | 132 +++- src/API/Type/ArrayOfResolutionType.php | 88 ++- src/API/Type/ArrayOfRuleOperationsType.php | 36 +- .../Type/ArrayOfTrackingPropertiesType.php | 12 +- src/API/Type/ArrayOfTransitionsType.php | 60 +- src/API/Type/AttachmentIdType.php | 25 +- src/API/Type/AttachmentResponseShapeType.php | 73 +- src/API/Type/AttachmentType.php | 103 ++- src/API/Type/AttendeeType.php | 37 +- src/API/Type/BaseFolderType.php | 108 ++- src/API/Type/BaseGroupByType.php | 13 +- src/API/Type/BaseNotificationEventType.php | 13 +- src/API/Type/BaseObjectChangedEventType.php | 49 +- src/API/Type/BasePagingType.php | 13 +- src/API/Type/BasePermissionType.php | 139 +++- src/API/Type/BaseSubscriptionRequestType.php | 64 +- src/API/Type/BodyType.php | 13 +- src/API/Type/CalendarEventDetailsType.php | 127 +++- src/API/Type/CalendarEventType.php | 49 +- src/API/Type/CalendarFolderType.php | 25 +- src/API/Type/CalendarItemType.php | 636 +++++++++++++++--- src/API/Type/CalendarPermissionSetType.php | 24 +- src/API/Type/CalendarPermissionType.php | 25 +- src/API/Type/CalendarViewType.php | 25 +- src/API/Type/ChangeDescriptionType.php | 36 +- src/API/Type/CompleteNameType.php | 121 +++- src/API/Type/ConflictResultsType.php | 13 +- src/API/Type/ConnectingSIDType.php | 49 +- src/API/Type/ConstantValueType.php | 13 +- src/API/Type/ContactItemType.php | 520 ++++++++++++-- src/API/Type/ContactsFolderType.php | 25 +- src/API/Type/ContactsViewType.php | 25 +- src/API/Type/ContainsExpressionType.php | 72 +- src/API/Type/ConversationActionType.php | 154 ++++- src/API/Type/ConversationType.php | 368 ++++++++-- src/API/Type/CreateRuleOperationType.php | 13 +- src/API/Type/DelegatePermissionsType.php | 73 +- src/API/Type/DelegateUserType.php | 61 +- src/API/Type/DeleteRuleOperationType.php | 13 +- src/API/Type/DeletedOccurrenceInfoType.php | 13 +- src/API/Type/DirectoryEntryType.php | 13 +- src/API/Type/DistinguishedFolderIdType.php | 37 +- src/API/Type/DistinguishedGroupByType.php | 13 +- src/API/Type/DistributionListType.php | 48 +- src/API/Type/DurationType.php | 25 +- src/API/Type/EffectiveRightsType.php | 127 +++- .../Type/EmailAddressDictionaryEntryType.php | 49 +- src/API/Type/EmailAddressType.php | 61 +- .../Type/EncryptedSharedFolderDataType.php | 25 +- src/API/Type/EndDateRecurrenceRangeType.php | 13 +- src/API/Type/ExchangeImpersonationType.php | 13 +- src/API/Type/ExcludesType.php | 48 +- src/API/Type/ExcludesValueType.php | 13 +- src/API/Type/ExistsType.php | 36 +- src/API/Type/ExtendedPropertyType.php | 36 +- src/API/Type/FieldOrderType.php | 48 +- src/API/Type/FieldURIOrConstantType.php | 49 +- src/API/Type/FileAttachmentType.php | 37 +- src/API/Type/FindFolderParentType.php | 89 ++- src/API/Type/FindItemParentType.php | 100 ++- .../FindMessageTrackingSearchResultType.php | 108 ++- src/API/Type/FolderChangeType.php | 37 +- src/API/Type/FolderIdType.php | 25 +- src/API/Type/FolderResponseShapeType.php | 25 +- src/API/Type/FolderType.php | 25 +- src/API/Type/FractionalPageViewType.php | 25 +- src/API/Type/FreeBusyViewOptionsType.php | 36 +- src/API/Type/FreeBusyViewType.php | 48 +- .../Type/GroupAttendeeConflictDataType.php | 49 +- src/API/Type/GroupByType.php | 49 +- src/API/Type/GroupedItemsType.php | 25 +- src/API/Type/ImAddressDictionaryEntryType.php | 13 +- src/API/Type/IndexedPageViewType.php | 25 +- .../IndividualAttendeeConflictDataType.php | 13 +- src/API/Type/InternetHeaderType.php | 13 +- .../IntervalRecurrencePatternBaseType.php | 13 +- src/API/Type/InvalidRecipientType.php | 37 +- src/API/Type/ItemAttachmentType.php | 121 +++- src/API/Type/ItemChangeType.php | 49 +- src/API/Type/ItemIdType.php | 25 +- src/API/Type/ItemResponseShapeType.php | 103 ++- src/API/Type/ItemType.php | 596 +++++++++++++--- .../KeywordStatisticsSearchResultType.php | 37 +- .../Type/MailTipsServiceConfigurationType.php | 100 ++- src/API/Type/MailTipsType.php | 166 ++++- src/API/Type/MailboxDataType.php | 43 +- .../MailboxStatisticsSearchResultType.php | 25 +- src/API/Type/ManagedFolderInformationType.php | 181 +++-- src/API/Type/MeetingMessageType.php | 139 +++- src/API/Type/MeetingRequestMessageType.php | 596 +++++++++++++--- src/API/Type/MemberType.php | 37 +- src/API/Type/MessageTrackingReportType.php | 84 ++- src/API/Type/MessageType.php | 201 ++++-- src/API/Type/MimeContentType.php | 13 +- src/API/Type/ModifiedEventType.php | 13 +- src/API/Type/MovedCopiedEventType.php | 37 +- .../MultipleOperandBooleanExpressionType.php | 144 +++- src/API/Type/NonEmptyArrayOfAllItemsType.php | 264 +++++++- .../Type/NonEmptyArrayOfAlternateIdsType.php | 36 +- .../Type/NonEmptyArrayOfAttachmentsType.php | 24 +- .../Type/NonEmptyArrayOfBaseFolderIdsType.php | 24 +- .../Type/NonEmptyArrayOfBaseItemIdsType.php | 36 +- ...ptyArrayOfFolderChangeDescriptionsType.php | 36 +- src/API/Type/NonEmptyArrayOfFoldersType.php | 60 +- ...EmptyArrayOfItemChangeDescriptionsType.php | 36 +- .../NonEmptyArrayOfPathsToElementType.php | 36 +- .../NonEmptyArrayOfResponseObjectsType.php | 132 +++- src/API/Type/NotType.php | 144 +++- src/API/Type/NotificationType.php | 148 +++- src/API/Type/NumberedRecurrenceRangeType.php | 13 +- src/API/Type/OccurrenceInfoType.php | 49 +- src/API/Type/OccurrenceItemIdType.php | 37 +- .../Type/OpenAsAdminOrSystemServiceType.php | 25 +- src/API/Type/OutOfOfficeMailTipType.php | 25 +- src/API/Type/PathToExceptionFieldType.php | 13 +- src/API/Type/PathToExtendedFieldType.php | 79 ++- src/API/Type/PathToIndexedFieldType.php | 25 +- src/API/Type/PathToUnindexedFieldType.php | 13 +- src/API/Type/PeriodType.php | 37 +- src/API/Type/PermissionSetType.php | 24 +- src/API/Type/PermissionType.php | 25 +- src/API/Type/PhoneCallIdType.php | 13 +- src/API/Type/PhoneCallInformationType.php | 49 +- .../Type/PhoneNumberDictionaryEntryType.php | 13 +- .../PhysicalAddressDictionaryEntryType.php | 73 +- src/API/Type/PostItemType.php | 113 +++- src/API/Type/PostReplyItemType.php | 13 +- src/API/Type/ProtectionRuleActionType.php | 24 +- src/API/Type/ProtectionRuleAndType.php | 60 +- src/API/Type/ProtectionRuleArgumentType.php | 13 +- src/API/Type/ProtectionRuleConditionType.php | 60 +- src/API/Type/ProtectionRuleType.php | 77 ++- ...rotectionRulesServiceConfigurationType.php | 36 +- src/API/Type/PullSubscriptionRequestType.php | 13 +- src/API/Type/PushSubscriptionRequestType.php | 25 +- src/API/Type/RecipientTrackingEventType.php | 174 ++++- src/API/Type/RecurrenceRangeBaseType.php | 13 +- src/API/Type/RecurrenceType.php | 109 ++- src/API/Type/RecurringDateTransitionType.php | 13 +- src/API/Type/RecurringDayTransitionType.php | 25 +- src/API/Type/RecurringMasterItemIdType.php | 25 +- src/API/Type/RecurringTimeTransitionType.php | 25 +- .../RelativeMonthlyRecurrencePatternType.php | 25 +- .../RelativeYearlyRecurrencePatternType.php | 37 +- src/API/Type/ReplyBodyType.php | 25 +- src/API/Type/RequestAttachmentIdType.php | 13 +- src/API/Type/RequestServerVersion.php | 13 +- src/API/Type/RequestTypeHeaderType.php | 13 +- src/API/Type/ResolutionType.php | 25 +- src/API/Type/ResponseObjectCoreType.php | 13 +- src/API/Type/ResponseObjectType.php | 13 +- src/API/Type/RestrictionType.php | 144 +++- src/API/Type/RootItemIdType.php | 25 +- src/API/Type/RuleActionsType.php | 210 ++++-- src/API/Type/RuleOperationErrorType.php | 24 +- src/API/Type/RulePredicateDateRangeType.php | 25 +- src/API/Type/RulePredicateSizeRangeType.php | 25 +- src/API/Type/RulePredicatesType.php | 552 ++++++++++++--- src/API/Type/RuleType.php | 145 +++- src/API/Type/RuleValidationErrorType.php | 52 +- src/API/Type/SearchFolderType.php | 13 +- src/API/Type/SearchParametersType.php | 37 +- src/API/Type/SerializableTimeZoneTimeType.php | 73 +- src/API/Type/SerializableTimeZoneType.php | 37 +- .../Type/SerializedSecurityContextType.php | 48 +- src/API/Type/ServerVersionInfo.php | 61 +- src/API/Type/SetFolderFieldType.php | 61 +- src/API/Type/SetItemFieldType.php | 133 +++- src/API/Type/SetRuleOperationType.php | 13 +- src/API/Type/SidAndAttributesType.php | 25 +- src/API/Type/SingleRecipientType.php | 13 +- src/API/Type/SmartResponseType.php | 13 +- src/API/Type/SmtpDomainType.php | 31 +- .../Type/StreamingSubscriptionRequestType.php | 52 +- src/API/Type/SuggestionDayResultType.php | 36 +- src/API/Type/SuggestionType.php | 65 +- src/API/Type/SuggestionsViewOptionsType.php | 97 ++- .../Type/SyncFolderHierarchyChangesType.php | 36 +- .../SyncFolderHierarchyCreateOrUpdateType.php | 61 +- .../Type/SyncFolderHierarchyDeleteType.php | 13 +- src/API/Type/SyncFolderItemsChangesType.php | 48 +- .../SyncFolderItemsCreateOrUpdateType.php | 133 +++- src/API/Type/SyncFolderItemsDeleteType.php | 13 +- src/API/Type/SyncFolderItemsReadFlagType.php | 31 +- src/API/Type/TargetFolderIdType.php | 25 +- src/API/Type/TaskRecurrenceType.php | 157 ++++- src/API/Type/TaskType.php | 312 +++++++-- src/API/Type/TimeChangeType.php | 61 +- src/API/Type/TimeZoneContextType.php | 13 +- src/API/Type/TimeZoneDefinitionType.php | 60 +- src/API/Type/TimeZoneType.php | 49 +- src/API/Type/TrackingPropertyType.php | 25 +- src/API/Type/TransitionTargetType.php | 13 +- src/API/Type/TransitionType.php | 13 +- src/API/Type/TwoOperandExpressionType.php | 48 +- ...UnifiedMessageServiceConfigurationType.php | 55 +- src/API/Type/UploadItemType.php | 77 ++- .../UserConfigurationDictionaryEntryType.php | 25 +- .../UserConfigurationDictionaryObjectType.php | 24 +- src/API/Type/UserConfigurationNameType.php | 13 +- src/API/Type/UserConfigurationType.php | 60 +- src/API/Type/UserIdType.php | 61 +- src/API/Type/UserMailboxType.php | 31 +- src/API/Type/UserOofSettingsType.php | 61 +- src/API/Type/ValueType.php | 13 +- src/API/Type/WeeklyRecurrencePatternType.php | 24 +- src/API/Type/WorkingHoursType.php | 24 +- src/API/Type/WorkingPeriodType.php | 36 +- src/Generator/ClassGenerator.php | 52 +- 331 files changed, 15721 insertions(+), 2375 deletions(-) diff --git a/src/API/Message/AddDelegateType.php b/src/API/Message/AddDelegateType.php index a4fe0264..f2d684f8 100644 --- a/src/API/Message/AddDelegateType.php +++ b/src/API/Message/AddDelegateType.php @@ -9,8 +9,6 @@ * XSD Type: AddDelegateType * * @method AddDelegateType addDelegateUsers(\garethp\ews\API\Type\DelegateUserType $delegateUsers) - * @method AddDelegateType setDelegateUsers(array $delegateUsers) - * @method AddDelegateType setDeliverMeetingRequests(string $deliverMeetingRequests) */ class AddDelegateType extends BaseDelegateType { @@ -40,4 +38,26 @@ public function getDeliverMeetingRequests() { return $this->deliverMeetingRequests; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\DelegateUserType[] + * @return AddDelegateType + */ + public function setDelegateUsers(array $value) + { + $this->delegateUsers = $this->castValueIfNeeded("delegateUsers", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AddDelegateType + */ + public function setDeliverMeetingRequests($value) + { + $this->deliverMeetingRequests = $this->castValueIfNeeded("deliverMeetingRequests", $value); + return $this; + } } diff --git a/src/API/Message/ApplyConversationActionType.php b/src/API/Message/ApplyConversationActionType.php index 40c28211..77d6ee63 100644 --- a/src/API/Message/ApplyConversationActionType.php +++ b/src/API/Message/ApplyConversationActionType.php @@ -9,7 +9,6 @@ * XSD Type: ApplyConversationActionType * * @method ApplyConversationActionType addConversationActions(\garethp\ews\API\Type\ConversationActionType $conversationActions) - * @method ApplyConversationActionType setConversationActions(array $conversationActions) */ class ApplyConversationActionType extends BaseRequestType { @@ -26,4 +25,15 @@ public function getConversationActions() { return $this->conversationActions; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ConversationActionType[] + * @return ApplyConversationActionType + */ + public function setConversationActions(array $value) + { + $this->conversationActions = $this->castValueIfNeeded("conversationActions", $value); + return $this; + } } diff --git a/src/API/Message/ArrayOfResponseMessagesType.php b/src/API/Message/ArrayOfResponseMessagesType.php index c9f33020..6c4dd560 100644 --- a/src/API/Message/ArrayOfResponseMessagesType.php +++ b/src/API/Message/ArrayOfResponseMessagesType.php @@ -11,95 +11,50 @@ * XSD Type: ArrayOfResponseMessagesType * * @method ArrayOfResponseMessagesType addCreateItemResponseMessage(ItemInfoResponseMessageType $createItemResponseMessage) - * @method ArrayOfResponseMessagesType setCreateItemResponseMessage(array $createItemResponseMessage) * @method ArrayOfResponseMessagesType addDeleteItemResponseMessage(ResponseMessageType $deleteItemResponseMessage) - * @method ArrayOfResponseMessagesType setDeleteItemResponseMessage(array $deleteItemResponseMessage) * @method ArrayOfResponseMessagesType addGetItemResponseMessage(ItemInfoResponseMessageType $getItemResponseMessage) - * @method ArrayOfResponseMessagesType setGetItemResponseMessage(array $getItemResponseMessage) * @method ArrayOfResponseMessagesType addUpdateItemResponseMessage(UpdateItemResponseMessageType $updateItemResponseMessage) - * @method ArrayOfResponseMessagesType setUpdateItemResponseMessage(array $updateItemResponseMessage) * @method ArrayOfResponseMessagesType addSendItemResponseMessage(ResponseMessageType $sendItemResponseMessage) - * @method ArrayOfResponseMessagesType setSendItemResponseMessage(array $sendItemResponseMessage) * @method ArrayOfResponseMessagesType addDeleteFolderResponseMessage(ResponseMessageType $deleteFolderResponseMessage) - * @method ArrayOfResponseMessagesType setDeleteFolderResponseMessage(array $deleteFolderResponseMessage) * @method ArrayOfResponseMessagesType addEmptyFolderResponseMessage(ResponseMessageType $emptyFolderResponseMessage) - * @method ArrayOfResponseMessagesType setEmptyFolderResponseMessage(array $emptyFolderResponseMessage) * @method ArrayOfResponseMessagesType addCreateFolderResponseMessage(FolderInfoResponseMessageType $createFolderResponseMessage) - * @method ArrayOfResponseMessagesType setCreateFolderResponseMessage(array $createFolderResponseMessage) * @method ArrayOfResponseMessagesType addGetFolderResponseMessage(FolderInfoResponseMessageType $getFolderResponseMessage) - * @method ArrayOfResponseMessagesType setGetFolderResponseMessage(array $getFolderResponseMessage) * @method ArrayOfResponseMessagesType addFindFolderResponseMessage(FindFolderResponseMessageType $findFolderResponseMessage) - * @method ArrayOfResponseMessagesType setFindFolderResponseMessage(array $findFolderResponseMessage) * @method ArrayOfResponseMessagesType addUpdateFolderResponseMessage(FolderInfoResponseMessageType $updateFolderResponseMessage) - * @method ArrayOfResponseMessagesType setUpdateFolderResponseMessage(array $updateFolderResponseMessage) * @method ArrayOfResponseMessagesType addMoveFolderResponseMessage(FolderInfoResponseMessageType $moveFolderResponseMessage) - * @method ArrayOfResponseMessagesType setMoveFolderResponseMessage(array $moveFolderResponseMessage) * @method ArrayOfResponseMessagesType addCopyFolderResponseMessage(FolderInfoResponseMessageType $copyFolderResponseMessage) - * @method ArrayOfResponseMessagesType setCopyFolderResponseMessage(array $copyFolderResponseMessage) * @method ArrayOfResponseMessagesType addCreateAttachmentResponseMessage(AttachmentInfoResponseMessageType $createAttachmentResponseMessage) - * @method ArrayOfResponseMessagesType setCreateAttachmentResponseMessage(array $createAttachmentResponseMessage) * @method ArrayOfResponseMessagesType addDeleteAttachmentResponseMessage(DeleteAttachmentResponseMessageType $deleteAttachmentResponseMessage) - * @method ArrayOfResponseMessagesType setDeleteAttachmentResponseMessage(array $deleteAttachmentResponseMessage) * @method ArrayOfResponseMessagesType addGetAttachmentResponseMessage(AttachmentInfoResponseMessageType $getAttachmentResponseMessage) - * @method ArrayOfResponseMessagesType setGetAttachmentResponseMessage(array $getAttachmentResponseMessage) * @method ArrayOfResponseMessagesType addUploadItemsResponseMessage(UploadItemsResponseMessageType $uploadItemsResponseMessage) - * @method ArrayOfResponseMessagesType setUploadItemsResponseMessage(array $uploadItemsResponseMessage) * @method ArrayOfResponseMessagesType addExportItemsResponseMessage(ExportItemsResponseMessageType $exportItemsResponseMessage) - * @method ArrayOfResponseMessagesType setExportItemsResponseMessage(array $exportItemsResponseMessage) * @method ArrayOfResponseMessagesType addFindItemResponseMessage(FindItemResponseMessageType $findItemResponseMessage) - * @method ArrayOfResponseMessagesType setFindItemResponseMessage(array $findItemResponseMessage) * @method ArrayOfResponseMessagesType addMoveItemResponseMessage(ItemInfoResponseMessageType $moveItemResponseMessage) - * @method ArrayOfResponseMessagesType setMoveItemResponseMessage(array $moveItemResponseMessage) * @method ArrayOfResponseMessagesType addCopyItemResponseMessage(ItemInfoResponseMessageType $copyItemResponseMessage) - * @method ArrayOfResponseMessagesType setCopyItemResponseMessage(array $copyItemResponseMessage) * @method ArrayOfResponseMessagesType addResolveNamesResponseMessage(ResolveNamesResponseMessageType $resolveNamesResponseMessage) - * @method ArrayOfResponseMessagesType setResolveNamesResponseMessage(array $resolveNamesResponseMessage) * @method ArrayOfResponseMessagesType addExpandDLResponseMessage(ExpandDLResponseMessageType $expandDLResponseMessage) - * @method ArrayOfResponseMessagesType setExpandDLResponseMessage(array $expandDLResponseMessage) * @method ArrayOfResponseMessagesType addGetServerTimeZonesResponseMessage(GetServerTimeZonesResponseMessageType $getServerTimeZonesResponseMessage) - * @method ArrayOfResponseMessagesType setGetServerTimeZonesResponseMessage(array $getServerTimeZonesResponseMessage) * @method ArrayOfResponseMessagesType addGetEventsResponseMessage(GetEventsResponseMessageType $getEventsResponseMessage) - * @method ArrayOfResponseMessagesType setGetEventsResponseMessage(array $getEventsResponseMessage) * @method ArrayOfResponseMessagesType addGetStreamingEventsResponseMessage(GetStreamingEventsResponseMessageType $getStreamingEventsResponseMessage) - * @method ArrayOfResponseMessagesType setGetStreamingEventsResponseMessage(array $getStreamingEventsResponseMessage) * @method ArrayOfResponseMessagesType addSubscribeResponseMessage(SubscribeResponseMessageType $subscribeResponseMessage) - * @method ArrayOfResponseMessagesType setSubscribeResponseMessage(array $subscribeResponseMessage) * @method ArrayOfResponseMessagesType addUnsubscribeResponseMessage(ResponseMessageType $unsubscribeResponseMessage) - * @method ArrayOfResponseMessagesType setUnsubscribeResponseMessage(array $unsubscribeResponseMessage) * @method ArrayOfResponseMessagesType addSendNotificationResponseMessage(SendNotificationResponseMessageType $sendNotificationResponseMessage) - * @method ArrayOfResponseMessagesType setSendNotificationResponseMessage(array $sendNotificationResponseMessage) * @method ArrayOfResponseMessagesType addSyncFolderHierarchyResponseMessage(SyncFolderHierarchyResponseMessageType $syncFolderHierarchyResponseMessage) - * @method ArrayOfResponseMessagesType setSyncFolderHierarchyResponseMessage(array $syncFolderHierarchyResponseMessage) * @method ArrayOfResponseMessagesType addSyncFolderItemsResponseMessage(SyncFolderItemsResponseMessageType $syncFolderItemsResponseMessage) - * @method ArrayOfResponseMessagesType setSyncFolderItemsResponseMessage(array $syncFolderItemsResponseMessage) * @method ArrayOfResponseMessagesType addCreateManagedFolderResponseMessage(FolderInfoResponseMessageType $createManagedFolderResponseMessage) - * @method ArrayOfResponseMessagesType setCreateManagedFolderResponseMessage(array $createManagedFolderResponseMessage) * @method ArrayOfResponseMessagesType addConvertIdResponseMessage(ConvertIdResponseMessageType $convertIdResponseMessage) - * @method ArrayOfResponseMessagesType setConvertIdResponseMessage(array $convertIdResponseMessage) * @method ArrayOfResponseMessagesType addGetSharingMetadataResponseMessage(GetSharingMetadataResponseMessageType $getSharingMetadataResponseMessage) - * @method ArrayOfResponseMessagesType setGetSharingMetadataResponseMessage(array $getSharingMetadataResponseMessage) * @method ArrayOfResponseMessagesType addRefreshSharingFolderResponseMessage(RefreshSharingFolderResponseMessageType $refreshSharingFolderResponseMessage) - * @method ArrayOfResponseMessagesType setRefreshSharingFolderResponseMessage(array $refreshSharingFolderResponseMessage) * @method ArrayOfResponseMessagesType addGetSharingFolderResponseMessage(GetSharingFolderResponseMessageType $getSharingFolderResponseMessage) - * @method ArrayOfResponseMessagesType setGetSharingFolderResponseMessage(array $getSharingFolderResponseMessage) * @method ArrayOfResponseMessagesType addCreateUserConfigurationResponseMessage(ResponseMessageType $createUserConfigurationResponseMessage) - * @method ArrayOfResponseMessagesType setCreateUserConfigurationResponseMessage(array $createUserConfigurationResponseMessage) * @method ArrayOfResponseMessagesType addDeleteUserConfigurationResponseMessage(ResponseMessageType $deleteUserConfigurationResponseMessage) - * @method ArrayOfResponseMessagesType setDeleteUserConfigurationResponseMessage(array $deleteUserConfigurationResponseMessage) * @method ArrayOfResponseMessagesType addGetUserConfigurationResponseMessage(GetUserConfigurationResponseMessageType $getUserConfigurationResponseMessage) - * @method ArrayOfResponseMessagesType setGetUserConfigurationResponseMessage(array $getUserConfigurationResponseMessage) * @method ArrayOfResponseMessagesType addUpdateUserConfigurationResponseMessage(ResponseMessageType $updateUserConfigurationResponseMessage) - * @method ArrayOfResponseMessagesType setUpdateUserConfigurationResponseMessage(array $updateUserConfigurationResponseMessage) * @method ArrayOfResponseMessagesType addGetRoomListsResponse(GetRoomListsResponseMessageType $getRoomListsResponse) - * @method ArrayOfResponseMessagesType setGetRoomListsResponse(array $getRoomListsResponse) * @method ArrayOfResponseMessagesType addGetRoomsResponse(GetRoomsResponseMessageType $getRoomsResponse) - * @method ArrayOfResponseMessagesType setGetRoomsResponse(array $getRoomsResponse) * @method ArrayOfResponseMessagesType addApplyConversationActionResponseMessage(ResponseMessageType $applyConversationActionResponseMessage) - * @method ArrayOfResponseMessagesType setApplyConversationActionResponseMessage(array $applyConversationActionResponseMessage) * @method ArrayOfResponseMessagesType addFindMailboxStatisticsByKeywordsResponseMessage(FindMailboxStatisticsByKeywordsResponseMessageType $findMailboxStatisticsByKeywordsResponseMessage) - * @method ArrayOfResponseMessagesType setFindMailboxStatisticsByKeywordsResponseMessage(array $findMailboxStatisticsByKeywordsResponseMessage) * @method ArrayOfResponseMessagesType addGetPasswordExpirationDateResponse(GetPasswordExpirationDateResponseMessageType $getPasswordExpirationDateResponse) - * @method ArrayOfResponseMessagesType setGetPasswordExpirationDateResponse(array $getPasswordExpirationDateResponse) */ class ArrayOfResponseMessagesType extends Message { @@ -689,4 +644,499 @@ public function getGetPasswordExpirationDateResponse() { return $this->getPasswordExpirationDateResponse; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCreateItemResponseMessage(array $value) + { + $this->createItemResponseMessage = $this->castValueIfNeeded("createItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setDeleteItemResponseMessage(array $value) + { + $this->deleteItemResponseMessage = $this->castValueIfNeeded("deleteItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetItemResponseMessage(array $value) + { + $this->getItemResponseMessage = $this->castValueIfNeeded("getItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UpdateItemResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setUpdateItemResponseMessage(array $value) + { + $this->updateItemResponseMessage = $this->castValueIfNeeded("updateItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setSendItemResponseMessage(array $value) + { + $this->sendItemResponseMessage = $this->castValueIfNeeded("sendItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setDeleteFolderResponseMessage(array $value) + { + $this->deleteFolderResponseMessage = $this->castValueIfNeeded("deleteFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setEmptyFolderResponseMessage(array $value) + { + $this->emptyFolderResponseMessage = $this->castValueIfNeeded("emptyFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCreateFolderResponseMessage(array $value) + { + $this->createFolderResponseMessage = $this->castValueIfNeeded("createFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetFolderResponseMessage(array $value) + { + $this->getFolderResponseMessage = $this->castValueIfNeeded("getFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FindFolderResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setFindFolderResponseMessage(array $value) + { + $this->findFolderResponseMessage = $this->castValueIfNeeded("findFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setUpdateFolderResponseMessage(array $value) + { + $this->updateFolderResponseMessage = $this->castValueIfNeeded("updateFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setMoveFolderResponseMessage(array $value) + { + $this->moveFolderResponseMessage = $this->castValueIfNeeded("moveFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCopyFolderResponseMessage(array $value) + { + $this->copyFolderResponseMessage = $this->castValueIfNeeded("copyFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttachmentInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCreateAttachmentResponseMessage(array $value) + { + $this->createAttachmentResponseMessage = $this->castValueIfNeeded("createAttachmentResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeleteAttachmentResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setDeleteAttachmentResponseMessage(array $value) + { + $this->deleteAttachmentResponseMessage = $this->castValueIfNeeded("deleteAttachmentResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttachmentInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetAttachmentResponseMessage(array $value) + { + $this->getAttachmentResponseMessage = $this->castValueIfNeeded("getAttachmentResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UploadItemsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setUploadItemsResponseMessage(array $value) + { + $this->uploadItemsResponseMessage = $this->castValueIfNeeded("uploadItemsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExportItemsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setExportItemsResponseMessage(array $value) + { + $this->exportItemsResponseMessage = $this->castValueIfNeeded("exportItemsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FindItemResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setFindItemResponseMessage(array $value) + { + $this->findItemResponseMessage = $this->castValueIfNeeded("findItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setMoveItemResponseMessage(array $value) + { + $this->moveItemResponseMessage = $this->castValueIfNeeded("moveItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCopyItemResponseMessage(array $value) + { + $this->copyItemResponseMessage = $this->castValueIfNeeded("copyItemResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResolveNamesResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setResolveNamesResponseMessage(array $value) + { + $this->resolveNamesResponseMessage = $this->castValueIfNeeded("resolveNamesResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExpandDLResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setExpandDLResponseMessage(array $value) + { + $this->expandDLResponseMessage = $this->castValueIfNeeded("expandDLResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetServerTimeZonesResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetServerTimeZonesResponseMessage(array $value) + { + $this->getServerTimeZonesResponseMessage = $this->castValueIfNeeded("getServerTimeZonesResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetEventsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetEventsResponseMessage(array $value) + { + $this->getEventsResponseMessage = $this->castValueIfNeeded("getEventsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetStreamingEventsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetStreamingEventsResponseMessage(array $value) + { + $this->getStreamingEventsResponseMessage = $this->castValueIfNeeded("getStreamingEventsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SubscribeResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setSubscribeResponseMessage(array $value) + { + $this->subscribeResponseMessage = $this->castValueIfNeeded("subscribeResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setUnsubscribeResponseMessage(array $value) + { + $this->unsubscribeResponseMessage = $this->castValueIfNeeded("unsubscribeResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SendNotificationResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setSendNotificationResponseMessage(array $value) + { + $this->sendNotificationResponseMessage = $this->castValueIfNeeded("sendNotificationResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderHierarchyResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setSyncFolderHierarchyResponseMessage(array $value) + { + $this->syncFolderHierarchyResponseMessage = $this->castValueIfNeeded("syncFolderHierarchyResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderItemsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setSyncFolderItemsResponseMessage(array $value) + { + $this->syncFolderItemsResponseMessage = $this->castValueIfNeeded("syncFolderItemsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderInfoResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCreateManagedFolderResponseMessage(array $value) + { + $this->createManagedFolderResponseMessage = $this->castValueIfNeeded("createManagedFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ConvertIdResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setConvertIdResponseMessage(array $value) + { + $this->convertIdResponseMessage = $this->castValueIfNeeded("convertIdResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetSharingMetadataResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetSharingMetadataResponseMessage(array $value) + { + $this->getSharingMetadataResponseMessage = $this->castValueIfNeeded("getSharingMetadataResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RefreshSharingFolderResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setRefreshSharingFolderResponseMessage(array $value) + { + $this->refreshSharingFolderResponseMessage = $this->castValueIfNeeded("refreshSharingFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetSharingFolderResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetSharingFolderResponseMessage(array $value) + { + $this->getSharingFolderResponseMessage = $this->castValueIfNeeded("getSharingFolderResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setCreateUserConfigurationResponseMessage(array $value) + { + $this->createUserConfigurationResponseMessage = $this->castValueIfNeeded("createUserConfigurationResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setDeleteUserConfigurationResponseMessage(array $value) + { + $this->deleteUserConfigurationResponseMessage = $this->castValueIfNeeded("deleteUserConfigurationResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetUserConfigurationResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetUserConfigurationResponseMessage(array $value) + { + $this->getUserConfigurationResponseMessage = $this->castValueIfNeeded("getUserConfigurationResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setUpdateUserConfigurationResponseMessage(array $value) + { + $this->updateUserConfigurationResponseMessage = $this->castValueIfNeeded("updateUserConfigurationResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetRoomListsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetRoomListsResponse(array $value) + { + $this->getRoomListsResponse = $this->castValueIfNeeded("getRoomListsResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetRoomsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetRoomsResponse(array $value) + { + $this->getRoomsResponse = $this->castValueIfNeeded("getRoomsResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setApplyConversationActionResponseMessage(array $value) + { + $this->applyConversationActionResponseMessage = $this->castValueIfNeeded("applyConversationActionResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FindMailboxStatisticsByKeywordsResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setFindMailboxStatisticsByKeywordsResponseMessage(array $value) + { + $this->findMailboxStatisticsByKeywordsResponseMessage = $this->castValueIfNeeded("findMailboxStatisticsByKeywordsResponseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GetPasswordExpirationDateResponseMessageType[] + * @return ArrayOfResponseMessagesType + */ + public function setGetPasswordExpirationDateResponse(array $value) + { + $this->getPasswordExpirationDateResponse = $this->castValueIfNeeded("getPasswordExpirationDateResponse", $value); + return $this; + } } diff --git a/src/API/Message/AttachmentInfoResponseMessageType.php b/src/API/Message/AttachmentInfoResponseMessageType.php index 14c75b02..bb635e0e 100644 --- a/src/API/Message/AttachmentInfoResponseMessageType.php +++ b/src/API/Message/AttachmentInfoResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: AttachmentInfoResponseMessageType - * - * @method AttachmentInfoResponseMessageType setAttachments(\garethp\ews\API\Type\ArrayOfAttachmentsType $attachments) */ class AttachmentInfoResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getAttachments() { return $this->attachments; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfAttachmentsType + * @return AttachmentInfoResponseMessageType + */ + public function setAttachments(\garethp\ews\API\Type\ArrayOfAttachmentsType $value) + { + $this->attachments = $this->castValueIfNeeded("attachments", $value); + return $this; + } } diff --git a/src/API/Message/BaseDelegateResponseMessageType.php b/src/API/Message/BaseDelegateResponseMessageType.php index aa9d186c..4b9411ab 100644 --- a/src/API/Message/BaseDelegateResponseMessageType.php +++ b/src/API/Message/BaseDelegateResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: BaseDelegateResponseMessageType * * @method BaseDelegateResponseMessageType addResponseMessages(DelegateUserResponseMessageType $responseMessages) - * @method BaseDelegateResponseMessageType setResponseMessages(array $responseMessages) */ class BaseDelegateResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getResponseMessages() { return $this->responseMessages; } + + /** + * @autogenerated This method is safe to replace + * @param $value DelegateUserResponseMessageType[] + * @return BaseDelegateResponseMessageType + */ + public function setResponseMessages(array $value) + { + $this->responseMessages = $this->castValueIfNeeded("responseMessages", $value); + return $this; + } } diff --git a/src/API/Message/BaseDelegateType.php b/src/API/Message/BaseDelegateType.php index 59c02ab0..4df0e397 100644 --- a/src/API/Message/BaseDelegateType.php +++ b/src/API/Message/BaseDelegateType.php @@ -7,8 +7,6 @@ * * * XSD Type: BaseDelegateType - * - * @method BaseDelegateType setMailbox(\garethp\ews\API\Type\EmailAddressType $mailbox) */ class BaseDelegateType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return BaseDelegateType + */ + public function setMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Message/BaseMoveCopyFolderType.php b/src/API/Message/BaseMoveCopyFolderType.php index 40d590e0..00bcaa21 100644 --- a/src/API/Message/BaseMoveCopyFolderType.php +++ b/src/API/Message/BaseMoveCopyFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: BaseMoveCopyFolderType - * - * @method BaseMoveCopyFolderType setToFolderId(\garethp\ews\API\Type\TargetFolderIdType $toFolderId) - * @method BaseMoveCopyFolderType setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $folderIds) */ class BaseMoveCopyFolderType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getFolderIds() { return $this->folderIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return BaseMoveCopyFolderType + */ + public function setToFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->toFolderId = $this->castValueIfNeeded("toFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return BaseMoveCopyFolderType + */ + public function setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; + } } diff --git a/src/API/Message/BaseMoveCopyItemType.php b/src/API/Message/BaseMoveCopyItemType.php index 2a222a9a..7b77b7d1 100644 --- a/src/API/Message/BaseMoveCopyItemType.php +++ b/src/API/Message/BaseMoveCopyItemType.php @@ -7,10 +7,6 @@ * * * XSD Type: BaseMoveCopyItemType - * - * @method BaseMoveCopyItemType setToFolderId(\garethp\ews\API\Type\TargetFolderIdType $toFolderId) - * @method BaseMoveCopyItemType setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $itemIds) - * @method BaseMoveCopyItemType setReturnNewItemIds(boolean $returnNewItemIds) */ class BaseMoveCopyItemType extends BaseRequestType { @@ -46,6 +42,36 @@ public function getItemIds() return $this->itemIds; } + /** + * @return boolean + */ + public function getReturnNewItemIds() + { + return $this->returnNewItemIds; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return BaseMoveCopyItemType + */ + public function setToFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->toFolderId = $this->castValueIfNeeded("toFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType + * @return BaseMoveCopyItemType + */ + public function setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } + /** * @returns bool */ @@ -55,10 +81,13 @@ public function isReturnNewItemIds() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BaseMoveCopyItemType */ - public function getReturnNewItemIds() + public function setReturnNewItemIds($value) { - return $this->returnNewItemIds; + $this->returnNewItemIds = $this->castValueIfNeeded("returnNewItemIds", $value); + return $this; } } diff --git a/src/API/Message/BaseResponseMessageType.php b/src/API/Message/BaseResponseMessageType.php index 42aba0bc..ef55865e 100644 --- a/src/API/Message/BaseResponseMessageType.php +++ b/src/API/Message/BaseResponseMessageType.php @@ -9,8 +9,6 @@ * * * XSD Type: BaseResponseMessageType - * - * @method BaseResponseMessageType setResponseMessages(ArrayOfResponseMessagesType $responseMessages) */ class BaseResponseMessageType extends Message { @@ -27,4 +25,15 @@ public function getResponseMessages() { return $this->responseMessages; } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfResponseMessagesType + * @return BaseResponseMessageType + */ + public function setResponseMessages(ArrayOfResponseMessagesType $value) + { + $this->responseMessages = $this->castValueIfNeeded("responseMessages", $value); + return $this; + } } diff --git a/src/API/Message/ConvertIdResponseMessageType.php b/src/API/Message/ConvertIdResponseMessageType.php index ea128423..bd5b9293 100644 --- a/src/API/Message/ConvertIdResponseMessageType.php +++ b/src/API/Message/ConvertIdResponseMessageType.php @@ -8,8 +8,6 @@ * Response Message for a single id conversion in the ConvertId web method. Note * that the AlternateId element will be missing in the case of an error. * XSD Type: ConvertIdResponseMessageType - * - * @method ConvertIdResponseMessageType setAlternateId(\garethp\ews\API\Type\AlternateIdBaseType $alternateId) */ class ConvertIdResponseMessageType extends ResponseMessageType { @@ -26,4 +24,15 @@ public function getAlternateId() { return $this->alternateId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\AlternateIdBaseType + * @return ConvertIdResponseMessageType + */ + public function setAlternateId(\garethp\ews\API\Type\AlternateIdBaseType $value) + { + $this->alternateId = $this->castValueIfNeeded("alternateId", $value); + return $this; + } } diff --git a/src/API/Message/ConvertIdType.php b/src/API/Message/ConvertIdType.php index 0d142c98..ac376437 100644 --- a/src/API/Message/ConvertIdType.php +++ b/src/API/Message/ConvertIdType.php @@ -8,9 +8,6 @@ * Converts the passed source ids into the destination format. Change keys are not * returned. * XSD Type: ConvertIdType - * - * @method ConvertIdType setDestinationFormat(string $destinationFormat) - * @method ConvertIdType setSourceIds(\garethp\ews\API\Type\NonEmptyArrayOfAlternateIdsType $sourceIds) */ class ConvertIdType extends BaseRequestType { @@ -40,4 +37,26 @@ public function getSourceIds() { return $this->sourceIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConvertIdType + */ + public function setDestinationFormat($value) + { + $this->destinationFormat = $this->castValueIfNeeded("destinationFormat", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfAlternateIdsType + * @return ConvertIdType + */ + public function setSourceIds(\garethp\ews\API\Type\NonEmptyArrayOfAlternateIdsType $value) + { + $this->sourceIds = $this->castValueIfNeeded("sourceIds", $value); + return $this; + } } diff --git a/src/API/Message/CreateAttachmentType.php b/src/API/Message/CreateAttachmentType.php index c3f4f2a2..ea503637 100644 --- a/src/API/Message/CreateAttachmentType.php +++ b/src/API/Message/CreateAttachmentType.php @@ -7,9 +7,6 @@ * * * XSD Type: CreateAttachmentType - * - * @method CreateAttachmentType setParentItemId(\garethp\ews\API\Type\ItemIdType $parentItemId) - * @method CreateAttachmentType setAttachments(\garethp\ews\API\Type\NonEmptyArrayOfAttachmentsType $attachments) */ class CreateAttachmentType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getAttachments() { return $this->attachments; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType + * @return CreateAttachmentType + */ + public function setParentItemId(\garethp\ews\API\Type\ItemIdType $value) + { + $this->parentItemId = $this->castValueIfNeeded("parentItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfAttachmentsType + * @return CreateAttachmentType + */ + public function setAttachments(\garethp\ews\API\Type\NonEmptyArrayOfAttachmentsType $value) + { + $this->attachments = $this->castValueIfNeeded("attachments", $value); + return $this; + } } diff --git a/src/API/Message/CreateFolderType.php b/src/API/Message/CreateFolderType.php index dd4b25b4..269a209d 100644 --- a/src/API/Message/CreateFolderType.php +++ b/src/API/Message/CreateFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: CreateFolderType - * - * @method CreateFolderType setParentFolderId(\garethp\ews\API\Type\TargetFolderIdType $parentFolderId) - * @method CreateFolderType setFolders(\garethp\ews\API\Type\NonEmptyArrayOfFoldersType $folders) */ class CreateFolderType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getFolders() { return $this->folders; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return CreateFolderType + */ + public function setParentFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfFoldersType + * @return CreateFolderType + */ + public function setFolders(\garethp\ews\API\Type\NonEmptyArrayOfFoldersType $value) + { + $this->folders = $this->castValueIfNeeded("folders", $value); + return $this; + } } diff --git a/src/API/Message/CreateItemType.php b/src/API/Message/CreateItemType.php index 4eec3c07..1b126512 100644 --- a/src/API/Message/CreateItemType.php +++ b/src/API/Message/CreateItemType.php @@ -7,11 +7,6 @@ * * * XSD Type: CreateItemType - * - * @method CreateItemType setMessageDisposition(string $messageDisposition) - * @method CreateItemType setSendMeetingInvitations(string $sendMeetingInvitations) - * @method CreateItemType setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $savedItemFolderId) - * @method CreateItemType setItems(\garethp\ews\API\Type\NonEmptyArrayOfAllItemsType $items) */ class CreateItemType extends BaseRequestType { @@ -67,4 +62,48 @@ public function getItems() { return $this->items; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CreateItemType + */ + public function setMessageDisposition($value) + { + $this->messageDisposition = $this->castValueIfNeeded("messageDisposition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CreateItemType + */ + public function setSendMeetingInvitations($value) + { + $this->sendMeetingInvitations = $this->castValueIfNeeded("sendMeetingInvitations", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return CreateItemType + */ + public function setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->savedItemFolderId = $this->castValueIfNeeded("savedItemFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfAllItemsType + * @return CreateItemType + */ + public function setItems(\garethp\ews\API\Type\NonEmptyArrayOfAllItemsType $value) + { + $this->items = $this->castValueIfNeeded("items", $value); + return $this; + } } diff --git a/src/API/Message/CreateManagedFolderRequestType.php b/src/API/Message/CreateManagedFolderRequestType.php index e9e3a991..0f951cd2 100644 --- a/src/API/Message/CreateManagedFolderRequestType.php +++ b/src/API/Message/CreateManagedFolderRequestType.php @@ -9,8 +9,6 @@ * XSD Type: CreateManagedFolderRequestType * * @method CreateManagedFolderRequestType addFolderNames(string $folderNames) - * @method CreateManagedFolderRequestType setFolderNames(array $folderNames) - * @method CreateManagedFolderRequestType setMailbox(\garethp\ews\API\Type\EmailAddressType $mailbox) */ class CreateManagedFolderRequestType extends BaseRequestType { @@ -40,4 +38,26 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return CreateManagedFolderRequestType + */ + public function setFolderNames(array $value) + { + $this->folderNames = $this->castValueIfNeeded("folderNames", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return CreateManagedFolderRequestType + */ + public function setMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Message/CreateUserConfigurationType.php b/src/API/Message/CreateUserConfigurationType.php index da8d2da9..cd6f0f82 100644 --- a/src/API/Message/CreateUserConfigurationType.php +++ b/src/API/Message/CreateUserConfigurationType.php @@ -7,8 +7,6 @@ * * * XSD Type: CreateUserConfigurationType - * - * @method CreateUserConfigurationType setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $userConfiguration) */ class CreateUserConfigurationType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getUserConfiguration() { return $this->userConfiguration; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserConfigurationType + * @return CreateUserConfigurationType + */ + public function setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $value) + { + $this->userConfiguration = $this->castValueIfNeeded("userConfiguration", $value); + return $this; + } } diff --git a/src/API/Message/DelegateUserResponseMessageType.php b/src/API/Message/DelegateUserResponseMessageType.php index 72fc838c..8ada8fb3 100644 --- a/src/API/Message/DelegateUserResponseMessageType.php +++ b/src/API/Message/DelegateUserResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: DelegateUserResponseMessageType - * - * @method DelegateUserResponseMessageType setDelegateUser(\garethp\ews\API\Type\DelegateUserType $delegateUser) */ class DelegateUserResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getDelegateUser() { return $this->delegateUser; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\DelegateUserType + * @return DelegateUserResponseMessageType + */ + public function setDelegateUser(\garethp\ews\API\Type\DelegateUserType $value) + { + $this->delegateUser = $this->castValueIfNeeded("delegateUser", $value); + return $this; + } } diff --git a/src/API/Message/DeleteAttachmentResponseMessageType.php b/src/API/Message/DeleteAttachmentResponseMessageType.php index 10d41ce4..d86579d1 100644 --- a/src/API/Message/DeleteAttachmentResponseMessageType.php +++ b/src/API/Message/DeleteAttachmentResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: DeleteAttachmentResponseMessageType - * - * @method DeleteAttachmentResponseMessageType setRootItemId(\garethp\ews\API\Type\RootItemIdType $rootItemId) */ class DeleteAttachmentResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getRootItemId() { return $this->rootItemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RootItemIdType + * @return DeleteAttachmentResponseMessageType + */ + public function setRootItemId(\garethp\ews\API\Type\RootItemIdType $value) + { + $this->rootItemId = $this->castValueIfNeeded("rootItemId", $value); + return $this; + } } diff --git a/src/API/Message/DeleteAttachmentType.php b/src/API/Message/DeleteAttachmentType.php index 880040d5..7ec150c0 100644 --- a/src/API/Message/DeleteAttachmentType.php +++ b/src/API/Message/DeleteAttachmentType.php @@ -9,7 +9,6 @@ * XSD Type: DeleteAttachmentType * * @method DeleteAttachmentType addAttachmentIds(\garethp\ews\API\Type\RequestAttachmentIdType $attachmentIds) - * @method DeleteAttachmentType setAttachmentIds(array $attachmentIds) */ class DeleteAttachmentType extends BaseRequestType { @@ -26,4 +25,15 @@ public function getAttachmentIds() { return $this->attachmentIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RequestAttachmentIdType[] + * @return DeleteAttachmentType + */ + public function setAttachmentIds(array $value) + { + $this->attachmentIds = $this->castValueIfNeeded("attachmentIds", $value); + return $this; + } } diff --git a/src/API/Message/DeleteFolderType.php b/src/API/Message/DeleteFolderType.php index 7ccdec41..0f65dadf 100644 --- a/src/API/Message/DeleteFolderType.php +++ b/src/API/Message/DeleteFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: DeleteFolderType - * - * @method DeleteFolderType setDeleteType(string $deleteType) - * @method DeleteFolderType setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $folderIds) */ class DeleteFolderType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getFolderIds() { return $this->folderIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DeleteFolderType + */ + public function setDeleteType($value) + { + $this->deleteType = $this->castValueIfNeeded("deleteType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return DeleteFolderType + */ + public function setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; + } } diff --git a/src/API/Message/DeleteItemType.php b/src/API/Message/DeleteItemType.php index e6543746..db2e2ded 100644 --- a/src/API/Message/DeleteItemType.php +++ b/src/API/Message/DeleteItemType.php @@ -7,11 +7,6 @@ * * * XSD Type: DeleteItemType - * - * @method DeleteItemType setDeleteType(string $deleteType) - * @method DeleteItemType setSendMeetingCancellations(string $sendMeetingCancellations) - * @method DeleteItemType setAffectedTaskOccurrences(string $affectedTaskOccurrences) - * @method DeleteItemType setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $itemIds) */ class DeleteItemType extends BaseRequestType { @@ -67,4 +62,48 @@ public function getItemIds() { return $this->itemIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DeleteItemType + */ + public function setDeleteType($value) + { + $this->deleteType = $this->castValueIfNeeded("deleteType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DeleteItemType + */ + public function setSendMeetingCancellations($value) + { + $this->sendMeetingCancellations = $this->castValueIfNeeded("sendMeetingCancellations", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DeleteItemType + */ + public function setAffectedTaskOccurrences($value) + { + $this->affectedTaskOccurrences = $this->castValueIfNeeded("affectedTaskOccurrences", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType + * @return DeleteItemType + */ + public function setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } } diff --git a/src/API/Message/DeleteUserConfigurationType.php b/src/API/Message/DeleteUserConfigurationType.php index f13f170e..4c5ab303 100644 --- a/src/API/Message/DeleteUserConfigurationType.php +++ b/src/API/Message/DeleteUserConfigurationType.php @@ -7,8 +7,6 @@ * * * XSD Type: DeleteUserConfigurationType - * - * @method DeleteUserConfigurationType setUserConfigurationName(\garethp\ews\API\Type\UserConfigurationNameType $userConfigurationName) */ class DeleteUserConfigurationType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getUserConfigurationName() { return $this->userConfigurationName; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserConfigurationNameType + * @return DeleteUserConfigurationType + */ + public function setUserConfigurationName(\garethp\ews\API\Type\UserConfigurationNameType $value) + { + $this->userConfigurationName = $this->castValueIfNeeded("userConfigurationName", $value); + return $this; + } } diff --git a/src/API/Message/DisconnectPhoneCallType.php b/src/API/Message/DisconnectPhoneCallType.php index 01c0b0cf..242f365c 100644 --- a/src/API/Message/DisconnectPhoneCallType.php +++ b/src/API/Message/DisconnectPhoneCallType.php @@ -7,8 +7,6 @@ * * * XSD Type: DisconnectPhoneCallType - * - * @method DisconnectPhoneCallType setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $phoneCallId) */ class DisconnectPhoneCallType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getPhoneCallId() { return $this->phoneCallId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PhoneCallIdType + * @return DisconnectPhoneCallType + */ + public function setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $value) + { + $this->phoneCallId = $this->castValueIfNeeded("phoneCallId", $value); + return $this; + } } diff --git a/src/API/Message/EmptyFolderType.php b/src/API/Message/EmptyFolderType.php index 949d88d5..a2631084 100644 --- a/src/API/Message/EmptyFolderType.php +++ b/src/API/Message/EmptyFolderType.php @@ -7,10 +7,6 @@ * * * XSD Type: EmptyFolderType - * - * @method EmptyFolderType setDeleteType(string $deleteType) - * @method EmptyFolderType setDeleteSubFolders(boolean $deleteSubFolders) - * @method EmptyFolderType setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $folderIds) */ class EmptyFolderType extends BaseRequestType { @@ -38,6 +34,33 @@ public function getDeleteType() return $this->deleteType; } + /** + * @return boolean + */ + public function getDeleteSubFolders() + { + return $this->deleteSubFolders; + } + + /** + * @return \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + */ + public function getFolderIds() + { + return $this->folderIds; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmptyFolderType + */ + public function setDeleteType($value) + { + $this->deleteType = $this->castValueIfNeeded("deleteType", $value); + return $this; + } + /** * @returns bool */ @@ -47,18 +70,24 @@ public function isDeleteSubFolders() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EmptyFolderType */ - public function getDeleteSubFolders() + public function setDeleteSubFolders($value) { - return $this->deleteSubFolders; + $this->deleteSubFolders = $this->castValueIfNeeded("deleteSubFolders", $value); + return $this; } /** - * @return \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return EmptyFolderType */ - public function getFolderIds() + public function setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) { - return $this->folderIds; + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; } } diff --git a/src/API/Message/ExpandDLResponseMessageType.php b/src/API/Message/ExpandDLResponseMessageType.php index da015444..017b5d71 100644 --- a/src/API/Message/ExpandDLResponseMessageType.php +++ b/src/API/Message/ExpandDLResponseMessageType.php @@ -7,13 +7,6 @@ * * * XSD Type: ExpandDLResponseMessageType - * - * @method ExpandDLResponseMessageType setIndexedPagingOffset(integer $indexedPagingOffset) - * @method ExpandDLResponseMessageType setNumeratorOffset(integer $numeratorOffset) - * @method ExpandDLResponseMessageType setAbsoluteDenominator(integer $absoluteDenominator) - * @method ExpandDLResponseMessageType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method ExpandDLResponseMessageType setTotalItemsInView(integer $totalItemsInView) - * @method ExpandDLResponseMessageType setDLExpansion(\garethp\ews\API\Type\ArrayOfDLExpansionType $dLExpansion) */ class ExpandDLResponseMessageType extends ResponseMessageType { @@ -72,14 +65,6 @@ public function getAbsoluteDenominator() return $this->absoluteDenominator; } - /** - * @returns bool - */ - public function isIncludesLastItemInRange() - { - return ((bool) $this->includesLastItemInRange); - } - /** * @return boolean */ @@ -103,4 +88,78 @@ public function getDLExpansion() { return $this->dLExpansion; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ExpandDLResponseMessageType + */ + public function setIndexedPagingOffset($value) + { + $this->indexedPagingOffset = $this->castValueIfNeeded("indexedPagingOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ExpandDLResponseMessageType + */ + public function setNumeratorOffset($value) + { + $this->numeratorOffset = $this->castValueIfNeeded("numeratorOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ExpandDLResponseMessageType + */ + public function setAbsoluteDenominator($value) + { + $this->absoluteDenominator = $this->castValueIfNeeded("absoluteDenominator", $value); + return $this; + } + + /** + * @returns bool + */ + public function isIncludesLastItemInRange() + { + return ((bool) $this->includesLastItemInRange); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ExpandDLResponseMessageType + */ + public function setIncludesLastItemInRange($value) + { + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ExpandDLResponseMessageType + */ + public function setTotalItemsInView($value) + { + $this->totalItemsInView = $this->castValueIfNeeded("totalItemsInView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfDLExpansionType + * @return ExpandDLResponseMessageType + */ + public function setDLExpansion(\garethp\ews\API\Type\ArrayOfDLExpansionType $value) + { + $this->dLExpansion = $this->castValueIfNeeded("dLExpansion", $value); + return $this; + } } diff --git a/src/API/Message/ExpandDLType.php b/src/API/Message/ExpandDLType.php index 1b58a276..1751ad90 100644 --- a/src/API/Message/ExpandDLType.php +++ b/src/API/Message/ExpandDLType.php @@ -7,8 +7,6 @@ * * * XSD Type: ExpandDLType - * - * @method ExpandDLType setMailbox(\garethp\ews\API\Type\EmailAddressType $mailbox) */ class ExpandDLType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return ExpandDLType + */ + public function setMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Message/ExportItemsResponseMessageType.php b/src/API/Message/ExportItemsResponseMessageType.php index 1e6cce20..6eed8eec 100644 --- a/src/API/Message/ExportItemsResponseMessageType.php +++ b/src/API/Message/ExportItemsResponseMessageType.php @@ -7,9 +7,6 @@ * * * XSD Type: ExportItemsResponseMessageType - * - * @method ExportItemsResponseMessageType setItemId(\garethp\ews\API\Type\ItemIdType $itemId) - * @method ExportItemsResponseMessageType setData(string $data) */ class ExportItemsResponseMessageType extends ResponseMessageType { @@ -39,4 +36,26 @@ public function getData() { return $this->data; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType + * @return ExportItemsResponseMessageType + */ + public function setItemId(\garethp\ews\API\Type\ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ExportItemsResponseMessageType + */ + public function setData($value) + { + $this->data = $this->castValueIfNeeded("data", $value); + return $this; + } } diff --git a/src/API/Message/ExportItemsType.php b/src/API/Message/ExportItemsType.php index f3fdb6d2..2cbdce6a 100644 --- a/src/API/Message/ExportItemsType.php +++ b/src/API/Message/ExportItemsType.php @@ -9,7 +9,6 @@ * XSD Type: ExportItemsType * * @method ExportItemsType addItemIds(\garethp\ews\API\Type\ItemIdType $itemIds) - * @method ExportItemsType setItemIds(array $itemIds) */ class ExportItemsType extends BaseRequestType { @@ -26,4 +25,15 @@ public function getItemIds() { return $this->itemIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType[] + * @return ExportItemsType + */ + public function setItemIds(array $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } } diff --git a/src/API/Message/FindConversationResponseMessageType.php b/src/API/Message/FindConversationResponseMessageType.php index 409296e5..894a5c0b 100644 --- a/src/API/Message/FindConversationResponseMessageType.php +++ b/src/API/Message/FindConversationResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: FindConversationResponseMessageType * * @method FindConversationResponseMessageType addConversations(\garethp\ews\API\Type\ConversationType $conversations) - * @method FindConversationResponseMessageType setConversations(array $conversations) */ class FindConversationResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getConversations() { return $this->conversations; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ConversationType[] + * @return FindConversationResponseMessageType + */ + public function setConversations(array $value) + { + $this->conversations = $this->castValueIfNeeded("conversations", $value); + return $this; + } } diff --git a/src/API/Message/FindConversationType.php b/src/API/Message/FindConversationType.php index ee7437bf..f924e8d1 100644 --- a/src/API/Message/FindConversationType.php +++ b/src/API/Message/FindConversationType.php @@ -8,10 +8,7 @@ * * XSD Type: FindConversationType * - * @method FindConversationType setIndexedPageItemView(\garethp\ews\API\Type\IndexedPageViewType $indexedPageItemView) * @method FindConversationType addSortOrder(\garethp\ews\API\Type\FieldOrderType $sortOrder) - * @method FindConversationType setSortOrder(array $sortOrder) - * @method FindConversationType setParentFolderId(\garethp\ews\API\Type\TargetFolderIdType $parentFolderId) */ class FindConversationType extends BaseRequestType { @@ -54,4 +51,37 @@ public function getParentFolderId() { return $this->parentFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\IndexedPageViewType + * @return FindConversationType + */ + public function setIndexedPageItemView(\garethp\ews\API\Type\IndexedPageViewType $value) + { + $this->indexedPageItemView = $this->castValueIfNeeded("indexedPageItemView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FieldOrderType[] + * @return FindConversationType + */ + public function setSortOrder(array $value) + { + $this->sortOrder = $this->castValueIfNeeded("sortOrder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return FindConversationType + */ + public function setParentFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } } diff --git a/src/API/Message/FindFolderResponseMessageType.php b/src/API/Message/FindFolderResponseMessageType.php index 0f682a1d..8088217a 100644 --- a/src/API/Message/FindFolderResponseMessageType.php +++ b/src/API/Message/FindFolderResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: FindFolderResponseMessageType - * - * @method FindFolderResponseMessageType setRootFolder(\garethp\ews\API\Type\FindFolderParentType $rootFolder) */ class FindFolderResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getRootFolder() { return $this->rootFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FindFolderParentType + * @return FindFolderResponseMessageType + */ + public function setRootFolder(\garethp\ews\API\Type\FindFolderParentType $value) + { + $this->rootFolder = $this->castValueIfNeeded("rootFolder", $value); + return $this; + } } diff --git a/src/API/Message/FindFolderType.php b/src/API/Message/FindFolderType.php index edbf97f9..58f7e76b 100644 --- a/src/API/Message/FindFolderType.php +++ b/src/API/Message/FindFolderType.php @@ -9,13 +9,6 @@ * * * XSD Type: FindFolderType - * - * @method FindFolderType setTraversal(string $traversal) - * @method FindFolderType setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $folderShape) - * @method FindFolderType setIndexedPageFolderView(\garethp\ews\API\Type\IndexedPageViewType $indexedPageFolderView) - * @method FindFolderType setFractionalPageFolderView(\garethp\ews\API\Type\FractionalPageViewType $fractionalPageFolderView) - * @method FindFolderType setRestriction(\garethp\ews\API\Type\RestrictionType $restriction) - * @method FindFolderType setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $parentFolderIds) */ class FindFolderType extends BaseRequestType { @@ -103,4 +96,70 @@ public function getParentFolderIds() { return $this->parentFolderIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindFolderType + */ + public function setTraversal($value) + { + $this->traversal = $this->castValueIfNeeded("traversal", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderResponseShapeType + * @return FindFolderType + */ + public function setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $value) + { + $this->folderShape = $this->castValueIfNeeded("folderShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\IndexedPageViewType + * @return FindFolderType + */ + public function setIndexedPageFolderView(\garethp\ews\API\Type\IndexedPageViewType $value) + { + $this->indexedPageFolderView = $this->castValueIfNeeded("indexedPageFolderView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FractionalPageViewType + * @return FindFolderType + */ + public function setFractionalPageFolderView(\garethp\ews\API\Type\FractionalPageViewType $value) + { + $this->fractionalPageFolderView = $this->castValueIfNeeded("fractionalPageFolderView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RestrictionType + * @return FindFolderType + */ + public function setRestriction(\garethp\ews\API\Type\RestrictionType $value) + { + $this->restriction = $this->castValueIfNeeded("restriction", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return FindFolderType + */ + public function setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->parentFolderIds = $this->castValueIfNeeded("parentFolderIds", $value); + return $this; + } } diff --git a/src/API/Message/FindItemResponseMessageType.php b/src/API/Message/FindItemResponseMessageType.php index 6b4ab3b7..c8812b7f 100644 --- a/src/API/Message/FindItemResponseMessageType.php +++ b/src/API/Message/FindItemResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: FindItemResponseMessageType - * - * @method FindItemResponseMessageType setRootFolder(\garethp\ews\API\Type\FindItemParentType $rootFolder) */ class FindItemResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getRootFolder() { return $this->rootFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FindItemParentType + * @return FindItemResponseMessageType + */ + public function setRootFolder(\garethp\ews\API\Type\FindItemParentType $value) + { + $this->rootFolder = $this->castValueIfNeeded("rootFolder", $value); + return $this; + } } diff --git a/src/API/Message/FindItemType.php b/src/API/Message/FindItemType.php index c1d9e70b..6589240b 100644 --- a/src/API/Message/FindItemType.php +++ b/src/API/Message/FindItemType.php @@ -10,19 +10,7 @@ * * XSD Type: FindItemType * - * @method FindItemType setTraversal(string $traversal) - * @method FindItemType setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $itemShape) - * @method FindItemType setIndexedPageItemView(\garethp\ews\API\Type\IndexedPageViewType $indexedPageItemView) - * @method FindItemType setFractionalPageItemView(\garethp\ews\API\Type\FractionalPageViewType $fractionalPageItemView) - * @method FindItemType setCalendarView(\garethp\ews\API\Type\CalendarViewType $calendarView) - * @method FindItemType setContactsView(\garethp\ews\API\Type\ContactsViewType $contactsView) - * @method FindItemType setGroupBy(\garethp\ews\API\Type\GroupByType $groupBy) - * @method FindItemType setDistinguishedGroupBy(\garethp\ews\API\Type\DistinguishedGroupByType $distinguishedGroupBy) - * @method FindItemType setRestriction(\garethp\ews\API\Type\RestrictionType $restriction) * @method FindItemType addSortOrder(\garethp\ews\API\Type\FieldOrderType $sortOrder) - * @method FindItemType setSortOrder(array $sortOrder) - * @method FindItemType setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $parentFolderIds) - * @method FindItemType setQueryString(string $queryString) */ class FindItemType extends BaseRequestType { @@ -188,4 +176,136 @@ public function getQueryString() { return $this->queryString; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindItemType + */ + public function setTraversal($value) + { + $this->traversal = $this->castValueIfNeeded("traversal", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemResponseShapeType + * @return FindItemType + */ + public function setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $value) + { + $this->itemShape = $this->castValueIfNeeded("itemShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\IndexedPageViewType + * @return FindItemType + */ + public function setIndexedPageItemView(\garethp\ews\API\Type\IndexedPageViewType $value) + { + $this->indexedPageItemView = $this->castValueIfNeeded("indexedPageItemView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FractionalPageViewType + * @return FindItemType + */ + public function setFractionalPageItemView(\garethp\ews\API\Type\FractionalPageViewType $value) + { + $this->fractionalPageItemView = $this->castValueIfNeeded("fractionalPageItemView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\CalendarViewType + * @return FindItemType + */ + public function setCalendarView(\garethp\ews\API\Type\CalendarViewType $value) + { + $this->calendarView = $this->castValueIfNeeded("calendarView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ContactsViewType + * @return FindItemType + */ + public function setContactsView(\garethp\ews\API\Type\ContactsViewType $value) + { + $this->contactsView = $this->castValueIfNeeded("contactsView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\GroupByType + * @return FindItemType + */ + public function setGroupBy(\garethp\ews\API\Type\GroupByType $value) + { + $this->groupBy = $this->castValueIfNeeded("groupBy", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\DistinguishedGroupByType + * @return FindItemType + */ + public function setDistinguishedGroupBy(\garethp\ews\API\Type\DistinguishedGroupByType $value) + { + $this->distinguishedGroupBy = $this->castValueIfNeeded("distinguishedGroupBy", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RestrictionType + * @return FindItemType + */ + public function setRestriction(\garethp\ews\API\Type\RestrictionType $value) + { + $this->restriction = $this->castValueIfNeeded("restriction", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FieldOrderType[] + * @return FindItemType + */ + public function setSortOrder(array $value) + { + $this->sortOrder = $this->castValueIfNeeded("sortOrder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return FindItemType + */ + public function setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->parentFolderIds = $this->castValueIfNeeded("parentFolderIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindItemType + */ + public function setQueryString($value) + { + $this->queryString = $this->castValueIfNeeded("queryString", $value); + return $this; + } } diff --git a/src/API/Message/FindMailboxStatisticsByKeywordsResponseMessageType.php b/src/API/Message/FindMailboxStatisticsByKeywordsResponseMessageType.php index 3dc810be..00c5ea1c 100644 --- a/src/API/Message/FindMailboxStatisticsByKeywordsResponseMessageType.php +++ b/src/API/Message/FindMailboxStatisticsByKeywordsResponseMessageType.php @@ -7,8 +7,6 @@ * * Response message type for the FindMailboxStatisticsByKeywords web method. * XSD Type: FindMailboxStatisticsByKeywordsResponseMessageType - * - * @method FindMailboxStatisticsByKeywordsResponseMessageType setMailboxStatisticsSearchResult(\garethp\ews\API\Type\MailboxStatisticsSearchResultType $mailboxStatisticsSearchResult) */ class FindMailboxStatisticsByKeywordsResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getMailboxStatisticsSearchResult() { return $this->mailboxStatisticsSearchResult; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\MailboxStatisticsSearchResultType + * @return FindMailboxStatisticsByKeywordsResponseMessageType + */ + public function setMailboxStatisticsSearchResult(\garethp\ews\API\Type\MailboxStatisticsSearchResultType $value) + { + $this->mailboxStatisticsSearchResult = $this->castValueIfNeeded("mailboxStatisticsSearchResult", $value); + return $this; + } } diff --git a/src/API/Message/FindMailboxStatisticsByKeywordsType.php b/src/API/Message/FindMailboxStatisticsByKeywordsType.php index 7034cd56..4f129c89 100644 --- a/src/API/Message/FindMailboxStatisticsByKeywordsType.php +++ b/src/API/Message/FindMailboxStatisticsByKeywordsType.php @@ -9,21 +9,10 @@ * XSD Type: FindMailboxStatisticsByKeywordsType * * @method FindMailboxStatisticsByKeywordsType addMailboxes(\garethp\ews\API\Type\UserMailboxType $mailboxes) - * @method FindMailboxStatisticsByKeywordsType setMailboxes(array $mailboxes) * @method FindMailboxStatisticsByKeywordsType addKeywords(string $keywords) - * @method FindMailboxStatisticsByKeywordsType setKeywords(array $keywords) - * @method FindMailboxStatisticsByKeywordsType setLanguage(string $language) * @method FindMailboxStatisticsByKeywordsType addSenders(string $senders) - * @method FindMailboxStatisticsByKeywordsType setSenders(array $senders) * @method FindMailboxStatisticsByKeywordsType addRecipients(string $recipients) - * @method FindMailboxStatisticsByKeywordsType setRecipients(array $recipients) - * @method FindMailboxStatisticsByKeywordsType setFromDate(\DateTime $fromDate) - * @method FindMailboxStatisticsByKeywordsType setToDate(\DateTime $toDate) * @method FindMailboxStatisticsByKeywordsType addMessageTypes(string $messageTypes) - * @method FindMailboxStatisticsByKeywordsType setMessageTypes(array $messageTypes) - * @method FindMailboxStatisticsByKeywordsType setSearchDumpster(boolean $searchDumpster) - * @method FindMailboxStatisticsByKeywordsType setIncludePersonalArchive(boolean $includePersonalArchive) - * @method FindMailboxStatisticsByKeywordsType setIncludeUnsearchableItems(boolean $includeUnsearchableItems) */ class FindMailboxStatisticsByKeywordsType extends BaseRequestType { @@ -152,6 +141,118 @@ public function getMessageTypes() return $this->messageTypes; } + /** + * @return boolean + */ + public function getSearchDumpster() + { + return $this->searchDumpster; + } + + /** + * @return boolean + */ + public function getIncludePersonalArchive() + { + return $this->includePersonalArchive; + } + + /** + * @return boolean + */ + public function getIncludeUnsearchableItems() + { + return $this->includeUnsearchableItems; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserMailboxType[] + * @return FindMailboxStatisticsByKeywordsType + */ + public function setMailboxes(array $value) + { + $this->mailboxes = $this->castValueIfNeeded("mailboxes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FindMailboxStatisticsByKeywordsType + */ + public function setKeywords(array $value) + { + $this->keywords = $this->castValueIfNeeded("keywords", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMailboxStatisticsByKeywordsType + */ + public function setLanguage($value) + { + $this->language = $this->castValueIfNeeded("language", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FindMailboxStatisticsByKeywordsType + */ + public function setSenders(array $value) + { + $this->senders = $this->castValueIfNeeded("senders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FindMailboxStatisticsByKeywordsType + */ + public function setRecipients(array $value) + { + $this->recipients = $this->castValueIfNeeded("recipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return FindMailboxStatisticsByKeywordsType + */ + public function setFromDate(\DateTime|string $value) + { + $this->fromDate = $this->castValueIfNeeded("fromDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return FindMailboxStatisticsByKeywordsType + */ + public function setToDate(\DateTime|string $value) + { + $this->toDate = $this->castValueIfNeeded("toDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FindMailboxStatisticsByKeywordsType + */ + public function setMessageTypes(array $value) + { + $this->messageTypes = $this->castValueIfNeeded("messageTypes", $value); + return $this; + } + /** * @returns bool */ @@ -161,11 +262,14 @@ public function isSearchDumpster() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return FindMailboxStatisticsByKeywordsType */ - public function getSearchDumpster() + public function setSearchDumpster($value) { - return $this->searchDumpster; + $this->searchDumpster = $this->castValueIfNeeded("searchDumpster", $value); + return $this; } /** @@ -177,11 +281,14 @@ public function isIncludePersonalArchive() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return FindMailboxStatisticsByKeywordsType */ - public function getIncludePersonalArchive() + public function setIncludePersonalArchive($value) { - return $this->includePersonalArchive; + $this->includePersonalArchive = $this->castValueIfNeeded("includePersonalArchive", $value); + return $this; } /** @@ -193,10 +300,13 @@ public function isIncludeUnsearchableItems() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return FindMailboxStatisticsByKeywordsType */ - public function getIncludeUnsearchableItems() + public function setIncludeUnsearchableItems($value) { - return $this->includeUnsearchableItems; + $this->includeUnsearchableItems = $this->castValueIfNeeded("includeUnsearchableItems", $value); + return $this; } } diff --git a/src/API/Message/FindMessageTrackingReportRequestType.php b/src/API/Message/FindMessageTrackingReportRequestType.php index eb73483f..99227c85 100644 --- a/src/API/Message/FindMessageTrackingReportRequestType.php +++ b/src/API/Message/FindMessageTrackingReportRequestType.php @@ -8,20 +8,7 @@ * * XSD Type: FindMessageTrackingReportRequestType * - * @method FindMessageTrackingReportRequestType setScope(string $scope) - * @method FindMessageTrackingReportRequestType setDomain(string $domain) - * @method FindMessageTrackingReportRequestType setSender(\garethp\ews\API\Type\EmailAddressType $sender) - * @method FindMessageTrackingReportRequestType setPurportedSender(\garethp\ews\API\Type\EmailAddressType $purportedSender) - * @method FindMessageTrackingReportRequestType setRecipient(\garethp\ews\API\Type\EmailAddressType $recipient) - * @method FindMessageTrackingReportRequestType setSubject(string $subject) - * @method FindMessageTrackingReportRequestType setStartDateTime(\DateTime $startDateTime) - * @method FindMessageTrackingReportRequestType setEndDateTime(\DateTime $endDateTime) - * @method FindMessageTrackingReportRequestType setMessageId(string $messageId) - * @method FindMessageTrackingReportRequestType setFederatedDeliveryMailbox(\garethp\ews\API\Type\EmailAddressType $federatedDeliveryMailbox) - * @method FindMessageTrackingReportRequestType setDiagnosticsLevel(string $diagnosticsLevel) - * @method FindMessageTrackingReportRequestType setServerHint(string $serverHint) * @method FindMessageTrackingReportRequestType addProperties(\garethp\ews\API\Type\TrackingPropertyType $properties) - * @method FindMessageTrackingReportRequestType setProperties(array $properties) */ class FindMessageTrackingReportRequestType extends BaseRequestType { @@ -199,4 +186,147 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setScope($value) + { + $this->scope = $this->castValueIfNeeded("scope", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setDomain($value) + { + $this->domain = $this->castValueIfNeeded("domain", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return FindMessageTrackingReportRequestType + */ + public function setSender(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->sender = $this->castValueIfNeeded("sender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return FindMessageTrackingReportRequestType + */ + public function setPurportedSender(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->purportedSender = $this->castValueIfNeeded("purportedSender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return FindMessageTrackingReportRequestType + */ + public function setRecipient(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->recipient = $this->castValueIfNeeded("recipient", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setSubject($value) + { + $this->subject = $this->castValueIfNeeded("subject", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return FindMessageTrackingReportRequestType + */ + public function setStartDateTime(\DateTime|string $value) + { + $this->startDateTime = $this->castValueIfNeeded("startDateTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return FindMessageTrackingReportRequestType + */ + public function setEndDateTime(\DateTime|string $value) + { + $this->endDateTime = $this->castValueIfNeeded("endDateTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setMessageId($value) + { + $this->messageId = $this->castValueIfNeeded("messageId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return FindMessageTrackingReportRequestType + */ + public function setFederatedDeliveryMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->federatedDeliveryMailbox = $this->castValueIfNeeded("federatedDeliveryMailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setDiagnosticsLevel($value) + { + $this->diagnosticsLevel = $this->castValueIfNeeded("diagnosticsLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportRequestType + */ + public function setServerHint($value) + { + $this->serverHint = $this->castValueIfNeeded("serverHint", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TrackingPropertyType[] + * @return FindMessageTrackingReportRequestType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Message/FindMessageTrackingReportResponseMessageType.php b/src/API/Message/FindMessageTrackingReportResponseMessageType.php index 5e42369e..64968c56 100644 --- a/src/API/Message/FindMessageTrackingReportResponseMessageType.php +++ b/src/API/Message/FindMessageTrackingReportResponseMessageType.php @@ -9,14 +9,9 @@ * XSD Type: FindMessageTrackingReportResponseMessageType * * @method FindMessageTrackingReportResponseMessageType addDiagnostics(string $diagnostics) - * @method FindMessageTrackingReportResponseMessageType setDiagnostics(array $diagnostics) * @method FindMessageTrackingReportResponseMessageType addMessageTrackingSearchResults(\garethp\ews\API\Type\FindMessageTrackingSearchResultType $messageTrackingSearchResults) - * @method FindMessageTrackingReportResponseMessageType setMessageTrackingSearchResults(array $messageTrackingSearchResults) - * @method FindMessageTrackingReportResponseMessageType setExecutedSearchScope(string $executedSearchScope) * @method FindMessageTrackingReportResponseMessageType addErrors(\garethp\ews\API\Type\ArrayOfTrackingPropertiesType $errors) - * @method FindMessageTrackingReportResponseMessageType setErrors(array $errors) * @method FindMessageTrackingReportResponseMessageType addProperties(\garethp\ews\API\Type\TrackingPropertyType $properties) - * @method FindMessageTrackingReportResponseMessageType setProperties(array $properties) */ class FindMessageTrackingReportResponseMessageType extends ResponseMessageType { @@ -85,4 +80,59 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FindMessageTrackingReportResponseMessageType + */ + public function setDiagnostics(array $value) + { + $this->diagnostics = $this->castValueIfNeeded("diagnostics", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FindMessageTrackingSearchResultType[] + * @return FindMessageTrackingReportResponseMessageType + */ + public function setMessageTrackingSearchResults(array $value) + { + $this->messageTrackingSearchResults = $this->castValueIfNeeded("messageTrackingSearchResults", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingReportResponseMessageType + */ + public function setExecutedSearchScope($value) + { + $this->executedSearchScope = $this->castValueIfNeeded("executedSearchScope", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfTrackingPropertiesType[] + * @return FindMessageTrackingReportResponseMessageType + */ + public function setErrors(array $value) + { + $this->errors = $this->castValueIfNeeded("errors", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TrackingPropertyType[] + * @return FindMessageTrackingReportResponseMessageType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Message/FolderInfoResponseMessageType.php b/src/API/Message/FolderInfoResponseMessageType.php index e63e20bf..0b55da1a 100644 --- a/src/API/Message/FolderInfoResponseMessageType.php +++ b/src/API/Message/FolderInfoResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: FolderInfoResponseMessageType - * - * @method FolderInfoResponseMessageType setFolders(\garethp\ews\API\Type\ArrayOfFoldersType $folders) */ class FolderInfoResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getFolders() { return $this->folders; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfFoldersType + * @return FolderInfoResponseMessageType + */ + public function setFolders(\garethp\ews\API\Type\ArrayOfFoldersType $value) + { + $this->folders = $this->castValueIfNeeded("folders", $value); + return $this; + } } diff --git a/src/API/Message/FreeBusyResponseType.php b/src/API/Message/FreeBusyResponseType.php index 4b25232b..dee00adf 100644 --- a/src/API/Message/FreeBusyResponseType.php +++ b/src/API/Message/FreeBusyResponseType.php @@ -9,9 +9,6 @@ * * * XSD Type: FreeBusyResponseType - * - * @method FreeBusyResponseType setResponseMessage(ResponseMessageType $responseMessage) - * @method FreeBusyResponseType setFreeBusyView(\garethp\ews\API\Type\FreeBusyViewType $freeBusyView) */ class FreeBusyResponseType extends Message { @@ -41,4 +38,26 @@ public function getFreeBusyView() { return $this->freeBusyView; } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType + * @return FreeBusyResponseType + */ + public function setResponseMessage(ResponseMessageType $value) + { + $this->responseMessage = $this->castValueIfNeeded("responseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FreeBusyViewType + * @return FreeBusyResponseType + */ + public function setFreeBusyView(\garethp\ews\API\Type\FreeBusyViewType $value) + { + $this->freeBusyView = $this->castValueIfNeeded("freeBusyView", $value); + return $this; + } } diff --git a/src/API/Message/GetAttachmentType.php b/src/API/Message/GetAttachmentType.php index afe9ab5f..ff8f17eb 100644 --- a/src/API/Message/GetAttachmentType.php +++ b/src/API/Message/GetAttachmentType.php @@ -8,9 +8,7 @@ * * XSD Type: GetAttachmentType * - * @method GetAttachmentType setAttachmentShape(\garethp\ews\API\Type\AttachmentResponseShapeType $attachmentShape) * @method GetAttachmentType addAttachmentIds(\garethp\ews\API\Type\RequestAttachmentIdType $attachmentIds) - * @method GetAttachmentType setAttachmentIds(array $attachmentIds) */ class GetAttachmentType extends BaseRequestType { @@ -40,4 +38,26 @@ public function getAttachmentIds() { return $this->attachmentIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\AttachmentResponseShapeType + * @return GetAttachmentType + */ + public function setAttachmentShape(\garethp\ews\API\Type\AttachmentResponseShapeType $value) + { + $this->attachmentShape = $this->castValueIfNeeded("attachmentShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RequestAttachmentIdType[] + * @return GetAttachmentType + */ + public function setAttachmentIds(array $value) + { + $this->attachmentIds = $this->castValueIfNeeded("attachmentIds", $value); + return $this; + } } diff --git a/src/API/Message/GetDelegateResponseMessageType.php b/src/API/Message/GetDelegateResponseMessageType.php index 7e2250c9..9021468b 100644 --- a/src/API/Message/GetDelegateResponseMessageType.php +++ b/src/API/Message/GetDelegateResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetDelegateResponseMessageType - * - * @method GetDelegateResponseMessageType setDeliverMeetingRequests(string $deliverMeetingRequests) */ class GetDelegateResponseMessageType extends BaseDelegateResponseMessageType { @@ -25,4 +23,15 @@ public function getDeliverMeetingRequests() { return $this->deliverMeetingRequests; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetDelegateResponseMessageType + */ + public function setDeliverMeetingRequests($value) + { + $this->deliverMeetingRequests = $this->castValueIfNeeded("deliverMeetingRequests", $value); + return $this; + } } diff --git a/src/API/Message/GetDelegateType.php b/src/API/Message/GetDelegateType.php index d0047cfb..3a993b57 100644 --- a/src/API/Message/GetDelegateType.php +++ b/src/API/Message/GetDelegateType.php @@ -8,9 +8,7 @@ * * XSD Type: GetDelegateType * - * @method GetDelegateType setIncludePermissions(boolean $includePermissions) * @method GetDelegateType addUserIds(\garethp\ews\API\Type\UserIdType $userIds) - * @method GetDelegateType setUserIds(array $userIds) */ class GetDelegateType extends BaseDelegateType { @@ -25,6 +23,22 @@ class GetDelegateType extends BaseDelegateType */ protected $userIds = null; + /** + * @return boolean + */ + public function getIncludePermissions() + { + return $this->includePermissions; + } + + /** + * @return \garethp\ews\API\Type\UserIdType[] + */ + public function getUserIds() + { + return $this->userIds; + } + /** * @returns bool */ @@ -34,18 +48,24 @@ public function isIncludePermissions() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return GetDelegateType */ - public function getIncludePermissions() + public function setIncludePermissions($value) { - return $this->includePermissions; + $this->includePermissions = $this->castValueIfNeeded("includePermissions", $value); + return $this; } /** - * @return \garethp\ews\API\Type\UserIdType[] + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserIdType[] + * @return GetDelegateType */ - public function getUserIds() + public function setUserIds(array $value) { - return $this->userIds; + $this->userIds = $this->castValueIfNeeded("userIds", $value); + return $this; } } diff --git a/src/API/Message/GetEventsResponseMessageType.php b/src/API/Message/GetEventsResponseMessageType.php index ee0d4a03..5b6ea35c 100644 --- a/src/API/Message/GetEventsResponseMessageType.php +++ b/src/API/Message/GetEventsResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetEventsResponseMessageType - * - * @method GetEventsResponseMessageType setNotification(\garethp\ews\API\Type\NotificationType $notification) */ class GetEventsResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getNotification() { return $this->notification; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NotificationType + * @return GetEventsResponseMessageType + */ + public function setNotification(\garethp\ews\API\Type\NotificationType $value) + { + $this->notification = $this->castValueIfNeeded("notification", $value); + return $this; + } } diff --git a/src/API/Message/GetEventsType.php b/src/API/Message/GetEventsType.php index 98384744..49bf2275 100644 --- a/src/API/Message/GetEventsType.php +++ b/src/API/Message/GetEventsType.php @@ -7,9 +7,6 @@ * * * XSD Type: GetEventsType - * - * @method GetEventsType setSubscriptionId(string $subscriptionId) - * @method GetEventsType setWatermark(string $watermark) */ class GetEventsType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getWatermark() { return $this->watermark; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetEventsType + */ + public function setSubscriptionId($value) + { + $this->subscriptionId = $this->castValueIfNeeded("subscriptionId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetEventsType + */ + public function setWatermark($value) + { + $this->watermark = $this->castValueIfNeeded("watermark", $value); + return $this; + } } diff --git a/src/API/Message/GetFolderType.php b/src/API/Message/GetFolderType.php index 9009dbc8..cea3217f 100644 --- a/src/API/Message/GetFolderType.php +++ b/src/API/Message/GetFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: GetFolderType - * - * @method GetFolderType setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $folderShape) - * @method GetFolderType setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $folderIds) */ class GetFolderType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getFolderIds() { return $this->folderIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderResponseShapeType + * @return GetFolderType + */ + public function setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $value) + { + $this->folderShape = $this->castValueIfNeeded("folderShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return GetFolderType + */ + public function setFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; + } } diff --git a/src/API/Message/GetInboxRulesRequestType.php b/src/API/Message/GetInboxRulesRequestType.php index 6d8b421e..41cb4f91 100644 --- a/src/API/Message/GetInboxRulesRequestType.php +++ b/src/API/Message/GetInboxRulesRequestType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetInboxRulesRequestType - * - * @method GetInboxRulesRequestType setMailboxSmtpAddress(string $mailboxSmtpAddress) */ class GetInboxRulesRequestType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getMailboxSmtpAddress() { return $this->mailboxSmtpAddress; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetInboxRulesRequestType + */ + public function setMailboxSmtpAddress($value) + { + $this->mailboxSmtpAddress = $this->castValueIfNeeded("mailboxSmtpAddress", $value); + return $this; + } } diff --git a/src/API/Message/GetInboxRulesResponseType.php b/src/API/Message/GetInboxRulesResponseType.php index f133b7fe..7047be56 100644 --- a/src/API/Message/GetInboxRulesResponseType.php +++ b/src/API/Message/GetInboxRulesResponseType.php @@ -8,9 +8,7 @@ * * XSD Type: GetInboxRulesResponseType * - * @method GetInboxRulesResponseType setOutlookRuleBlobExists(boolean $outlookRuleBlobExists) * @method GetInboxRulesResponseType addInboxRules(\garethp\ews\API\Type\RuleType $inboxRules) - * @method GetInboxRulesResponseType setInboxRules(array $inboxRules) */ class GetInboxRulesResponseType extends ResponseMessageType { @@ -25,6 +23,22 @@ class GetInboxRulesResponseType extends ResponseMessageType */ protected $inboxRules = null; + /** + * @return boolean + */ + public function getOutlookRuleBlobExists() + { + return $this->outlookRuleBlobExists; + } + + /** + * @return \garethp\ews\API\Type\RuleType[] + */ + public function getInboxRules() + { + return $this->inboxRules; + } + /** * @returns bool */ @@ -34,18 +48,24 @@ public function isOutlookRuleBlobExists() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return GetInboxRulesResponseType */ - public function getOutlookRuleBlobExists() + public function setOutlookRuleBlobExists($value) { - return $this->outlookRuleBlobExists; + $this->outlookRuleBlobExists = $this->castValueIfNeeded("outlookRuleBlobExists", $value); + return $this; } /** - * @return \garethp\ews\API\Type\RuleType[] + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RuleType[] + * @return GetInboxRulesResponseType */ - public function getInboxRules() + public function setInboxRules(array $value) { - return $this->inboxRules; + $this->inboxRules = $this->castValueIfNeeded("inboxRules", $value); + return $this; } } diff --git a/src/API/Message/GetItemType.php b/src/API/Message/GetItemType.php index 902f2c37..dead9066 100644 --- a/src/API/Message/GetItemType.php +++ b/src/API/Message/GetItemType.php @@ -7,9 +7,6 @@ * * * XSD Type: GetItemType - * - * @method GetItemType setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $itemShape) - * @method GetItemType setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $itemIds) */ class GetItemType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getItemIds() { return $this->itemIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemResponseShapeType + * @return GetItemType + */ + public function setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $value) + { + $this->itemShape = $this->castValueIfNeeded("itemShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType + * @return GetItemType + */ + public function setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } } diff --git a/src/API/Message/GetMailTipsResponseMessageType.php b/src/API/Message/GetMailTipsResponseMessageType.php index 0ff09c64..36d73149 100644 --- a/src/API/Message/GetMailTipsResponseMessageType.php +++ b/src/API/Message/GetMailTipsResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: GetMailTipsResponseMessageType * * @method GetMailTipsResponseMessageType addResponseMessages(MailTipsResponseMessageType $responseMessages) - * @method GetMailTipsResponseMessageType setResponseMessages(array $responseMessages) */ class GetMailTipsResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getResponseMessages() { return $this->responseMessages; } + + /** + * @autogenerated This method is safe to replace + * @param $value MailTipsResponseMessageType[] + * @return GetMailTipsResponseMessageType + */ + public function setResponseMessages(array $value) + { + $this->responseMessages = $this->castValueIfNeeded("responseMessages", $value); + return $this; + } } diff --git a/src/API/Message/GetMailTipsType.php b/src/API/Message/GetMailTipsType.php index 88598507..01f331ee 100644 --- a/src/API/Message/GetMailTipsType.php +++ b/src/API/Message/GetMailTipsType.php @@ -8,11 +8,8 @@ * * XSD Type: GetMailTipsType * - * @method GetMailTipsType setSendingAs(\garethp\ews\API\Type\EmailAddressType $sendingAs) * @method GetMailTipsType addRecipients(\garethp\ews\API\Type\EmailAddressType $recipients) - * @method GetMailTipsType setRecipients(array $recipients) * @method GetMailTipsType addMailTipsRequested(string $mailTipsRequested) - * @method GetMailTipsType setMailTipsRequested(array $mailTipsRequested) */ class GetMailTipsType extends BaseRequestType { @@ -55,4 +52,37 @@ public function getMailTipsRequested() { return $this->mailTipsRequested; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return GetMailTipsType + */ + public function setSendingAs(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->sendingAs = $this->castValueIfNeeded("sendingAs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType[] + * @return GetMailTipsType + */ + public function setRecipients(array $value) + { + $this->recipients = $this->castValueIfNeeded("recipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetMailTipsType + */ + public function setMailTipsRequested(array $value) + { + $this->mailTipsRequested = $this->castValueIfNeeded("mailTipsRequested", $value); + return $this; + } } diff --git a/src/API/Message/GetMessageTrackingReportRequestType.php b/src/API/Message/GetMessageTrackingReportRequestType.php index aa74c557..fd7f8513 100644 --- a/src/API/Message/GetMessageTrackingReportRequestType.php +++ b/src/API/Message/GetMessageTrackingReportRequestType.php @@ -8,14 +8,7 @@ * * XSD Type: GetMessageTrackingReportRequestType * - * @method GetMessageTrackingReportRequestType setScope(string $scope) - * @method GetMessageTrackingReportRequestType setReportTemplate(string $reportTemplate) - * @method GetMessageTrackingReportRequestType setRecipientFilter(\garethp\ews\API\Type\EmailAddressType $recipientFilter) - * @method GetMessageTrackingReportRequestType setMessageTrackingReportId(string $messageTrackingReportId) - * @method GetMessageTrackingReportRequestType setReturnQueueEvents(boolean $returnQueueEvents) - * @method GetMessageTrackingReportRequestType setDiagnosticsLevel(string $diagnosticsLevel) * @method GetMessageTrackingReportRequestType addProperties(\garethp\ews\API\Type\TrackingPropertyType $properties) - * @method GetMessageTrackingReportRequestType setProperties(array $properties) */ class GetMessageTrackingReportRequestType extends BaseRequestType { @@ -87,14 +80,6 @@ public function getMessageTrackingReportId() return $this->messageTrackingReportId; } - /** - * @returns bool - */ - public function isReturnQueueEvents() - { - return ((bool) $this->returnQueueEvents); - } - /** * @return boolean */ @@ -118,4 +103,89 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetMessageTrackingReportRequestType + */ + public function setScope($value) + { + $this->scope = $this->castValueIfNeeded("scope", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetMessageTrackingReportRequestType + */ + public function setReportTemplate($value) + { + $this->reportTemplate = $this->castValueIfNeeded("reportTemplate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return GetMessageTrackingReportRequestType + */ + public function setRecipientFilter(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->recipientFilter = $this->castValueIfNeeded("recipientFilter", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetMessageTrackingReportRequestType + */ + public function setMessageTrackingReportId($value) + { + $this->messageTrackingReportId = $this->castValueIfNeeded("messageTrackingReportId", $value); + return $this; + } + + /** + * @returns bool + */ + public function isReturnQueueEvents() + { + return ((bool) $this->returnQueueEvents); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return GetMessageTrackingReportRequestType + */ + public function setReturnQueueEvents($value) + { + $this->returnQueueEvents = $this->castValueIfNeeded("returnQueueEvents", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetMessageTrackingReportRequestType + */ + public function setDiagnosticsLevel($value) + { + $this->diagnosticsLevel = $this->castValueIfNeeded("diagnosticsLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TrackingPropertyType[] + * @return GetMessageTrackingReportRequestType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Message/GetMessageTrackingReportResponseMessageType.php b/src/API/Message/GetMessageTrackingReportResponseMessageType.php index 6194fd4f..7951690f 100644 --- a/src/API/Message/GetMessageTrackingReportResponseMessageType.php +++ b/src/API/Message/GetMessageTrackingReportResponseMessageType.php @@ -8,13 +8,9 @@ * * XSD Type: GetMessageTrackingReportResponseMessageType * - * @method GetMessageTrackingReportResponseMessageType setMessageTrackingReport(\garethp\ews\API\Type\MessageTrackingReportType $messageTrackingReport) * @method GetMessageTrackingReportResponseMessageType addDiagnostics(string $diagnostics) - * @method GetMessageTrackingReportResponseMessageType setDiagnostics(array $diagnostics) * @method GetMessageTrackingReportResponseMessageType addErrors(\garethp\ews\API\Type\ArrayOfTrackingPropertiesType $errors) - * @method GetMessageTrackingReportResponseMessageType setErrors(array $errors) * @method GetMessageTrackingReportResponseMessageType addProperties(\garethp\ews\API\Type\TrackingPropertyType $properties) - * @method GetMessageTrackingReportResponseMessageType setProperties(array $properties) */ class GetMessageTrackingReportResponseMessageType extends ResponseMessageType { @@ -70,4 +66,48 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\MessageTrackingReportType + * @return GetMessageTrackingReportResponseMessageType + */ + public function setMessageTrackingReport(\garethp\ews\API\Type\MessageTrackingReportType $value) + { + $this->messageTrackingReport = $this->castValueIfNeeded("messageTrackingReport", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetMessageTrackingReportResponseMessageType + */ + public function setDiagnostics(array $value) + { + $this->diagnostics = $this->castValueIfNeeded("diagnostics", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfTrackingPropertiesType[] + * @return GetMessageTrackingReportResponseMessageType + */ + public function setErrors(array $value) + { + $this->errors = $this->castValueIfNeeded("errors", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TrackingPropertyType[] + * @return GetMessageTrackingReportResponseMessageType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Message/GetPasswordExpirationDateResponseMessageType.php b/src/API/Message/GetPasswordExpirationDateResponseMessageType.php index 0ea074cf..8b4023a0 100644 --- a/src/API/Message/GetPasswordExpirationDateResponseMessageType.php +++ b/src/API/Message/GetPasswordExpirationDateResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetPasswordExpirationDateResponseMessageType - * - * @method GetPasswordExpirationDateResponseMessageType setPasswordExpirationDate(\DateTime $passwordExpirationDate) */ class GetPasswordExpirationDateResponseMessageType extends ResponseMessageType { @@ -29,4 +27,15 @@ public function getPasswordExpirationDate() { return $this->passwordExpirationDate; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return GetPasswordExpirationDateResponseMessageType + */ + public function setPasswordExpirationDate(\DateTime|string $value) + { + $this->passwordExpirationDate = $this->castValueIfNeeded("passwordExpirationDate", $value); + return $this; + } } diff --git a/src/API/Message/GetPasswordExpirationDateType.php b/src/API/Message/GetPasswordExpirationDateType.php index 80ed1898..1d4b97cc 100644 --- a/src/API/Message/GetPasswordExpirationDateType.php +++ b/src/API/Message/GetPasswordExpirationDateType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetPasswordExpirationDateType - * - * @method GetPasswordExpirationDateType setMailboxSmtpAddress(string $mailboxSmtpAddress) */ class GetPasswordExpirationDateType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getMailboxSmtpAddress() { return $this->mailboxSmtpAddress; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetPasswordExpirationDateType + */ + public function setMailboxSmtpAddress($value) + { + $this->mailboxSmtpAddress = $this->castValueIfNeeded("mailboxSmtpAddress", $value); + return $this; + } } diff --git a/src/API/Message/GetPhoneCallInformationResponseMessageType.php b/src/API/Message/GetPhoneCallInformationResponseMessageType.php index ac419489..4b3ff935 100644 --- a/src/API/Message/GetPhoneCallInformationResponseMessageType.php +++ b/src/API/Message/GetPhoneCallInformationResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetPhoneCallInformationResponseMessageType - * - * @method GetPhoneCallInformationResponseMessageType setPhoneCallInformation(\garethp\ews\API\Type\PhoneCallInformationType $phoneCallInformation) */ class GetPhoneCallInformationResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getPhoneCallInformation() { return $this->phoneCallInformation; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PhoneCallInformationType + * @return GetPhoneCallInformationResponseMessageType + */ + public function setPhoneCallInformation(\garethp\ews\API\Type\PhoneCallInformationType $value) + { + $this->phoneCallInformation = $this->castValueIfNeeded("phoneCallInformation", $value); + return $this; + } } diff --git a/src/API/Message/GetPhoneCallInformationType.php b/src/API/Message/GetPhoneCallInformationType.php index 77a7b1f6..db6758a9 100644 --- a/src/API/Message/GetPhoneCallInformationType.php +++ b/src/API/Message/GetPhoneCallInformationType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetPhoneCallInformationType - * - * @method GetPhoneCallInformationType setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $phoneCallId) */ class GetPhoneCallInformationType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getPhoneCallId() { return $this->phoneCallId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PhoneCallIdType + * @return GetPhoneCallInformationType + */ + public function setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $value) + { + $this->phoneCallId = $this->castValueIfNeeded("phoneCallId", $value); + return $this; + } } diff --git a/src/API/Message/GetRoomListsResponseMessageType.php b/src/API/Message/GetRoomListsResponseMessageType.php index bbfbe31c..866b9773 100644 --- a/src/API/Message/GetRoomListsResponseMessageType.php +++ b/src/API/Message/GetRoomListsResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: GetRoomListsResponseMessageType * * @method GetRoomListsResponseMessageType addRoomLists(\garethp\ews\API\Type\EmailAddressType $roomLists) - * @method GetRoomListsResponseMessageType setRoomLists(array $roomLists) */ class GetRoomListsResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getRoomLists() { return $this->roomLists; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType[] + * @return GetRoomListsResponseMessageType + */ + public function setRoomLists(array $value) + { + $this->roomLists = $this->castValueIfNeeded("roomLists", $value); + return $this; + } } diff --git a/src/API/Message/GetRoomsResponseMessageType.php b/src/API/Message/GetRoomsResponseMessageType.php index b34bbe2f..248f31aa 100644 --- a/src/API/Message/GetRoomsResponseMessageType.php +++ b/src/API/Message/GetRoomsResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: GetRoomsResponseMessageType * * @method GetRoomsResponseMessageType addRooms(\garethp\ews\API\Type\RoomType $rooms) - * @method GetRoomsResponseMessageType setRooms(array $rooms) */ class GetRoomsResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getRooms() { return $this->rooms; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RoomType[] + * @return GetRoomsResponseMessageType + */ + public function setRooms(array $value) + { + $this->rooms = $this->castValueIfNeeded("rooms", $value); + return $this; + } } diff --git a/src/API/Message/GetRoomsType.php b/src/API/Message/GetRoomsType.php index 552aee04..63648fc1 100644 --- a/src/API/Message/GetRoomsType.php +++ b/src/API/Message/GetRoomsType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetRoomsType - * - * @method GetRoomsType setRoomList(\garethp\ews\API\Type\EmailAddressType $roomList) */ class GetRoomsType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getRoomList() { return $this->roomList; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return GetRoomsType + */ + public function setRoomList(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->roomList = $this->castValueIfNeeded("roomList", $value); + return $this; + } } diff --git a/src/API/Message/GetServerTimeZonesResponseMessageType.php b/src/API/Message/GetServerTimeZonesResponseMessageType.php index b6b531f1..c893f8ee 100644 --- a/src/API/Message/GetServerTimeZonesResponseMessageType.php +++ b/src/API/Message/GetServerTimeZonesResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: GetServerTimeZonesResponseMessageType * * @method GetServerTimeZonesResponseMessageType addTimeZoneDefinitions(\garethp\ews\API\Type\TimeZoneDefinitionType $timeZoneDefinitions) - * @method GetServerTimeZonesResponseMessageType setTimeZoneDefinitions(array $timeZoneDefinitions) */ class GetServerTimeZonesResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getTimeZoneDefinitions() { return $this->timeZoneDefinitions; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TimeZoneDefinitionType[] + * @return GetServerTimeZonesResponseMessageType + */ + public function setTimeZoneDefinitions(array $value) + { + $this->timeZoneDefinitions = $this->castValueIfNeeded("timeZoneDefinitions", $value); + return $this; + } } diff --git a/src/API/Message/GetServerTimeZonesType.php b/src/API/Message/GetServerTimeZonesType.php index 12beaeb9..92e511c6 100644 --- a/src/API/Message/GetServerTimeZonesType.php +++ b/src/API/Message/GetServerTimeZonesType.php @@ -8,9 +8,7 @@ * * XSD Type: GetServerTimeZonesType * - * @method GetServerTimeZonesType setReturnFullTimeZoneData(boolean $returnFullTimeZoneData) * @method GetServerTimeZonesType addIds(string $ids) - * @method GetServerTimeZonesType setIds(array $ids) */ class GetServerTimeZonesType extends BaseRequestType { @@ -25,6 +23,22 @@ class GetServerTimeZonesType extends BaseRequestType */ protected $ids = null; + /** + * @return boolean + */ + public function getReturnFullTimeZoneData() + { + return $this->returnFullTimeZoneData; + } + + /** + * @return string[] + */ + public function getIds() + { + return $this->ids; + } + /** * @returns bool */ @@ -34,18 +48,24 @@ public function isReturnFullTimeZoneData() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return GetServerTimeZonesType */ - public function getReturnFullTimeZoneData() + public function setReturnFullTimeZoneData($value) { - return $this->returnFullTimeZoneData; + $this->returnFullTimeZoneData = $this->castValueIfNeeded("returnFullTimeZoneData", $value); + return $this; } /** - * @return string[] + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetServerTimeZonesType */ - public function getIds() + public function setIds(array $value) { - return $this->ids; + $this->ids = $this->castValueIfNeeded("ids", $value); + return $this; } } diff --git a/src/API/Message/GetServiceConfigurationResponseMessageType.php b/src/API/Message/GetServiceConfigurationResponseMessageType.php index d03cf43a..99304be1 100644 --- a/src/API/Message/GetServiceConfigurationResponseMessageType.php +++ b/src/API/Message/GetServiceConfigurationResponseMessageType.php @@ -9,7 +9,6 @@ * XSD Type: GetServiceConfigurationResponseMessageType * * @method GetServiceConfigurationResponseMessageType addResponseMessages(ServiceConfigurationResponseMessageType $responseMessages) - * @method GetServiceConfigurationResponseMessageType setResponseMessages(array $responseMessages) */ class GetServiceConfigurationResponseMessageType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getResponseMessages() { return $this->responseMessages; } + + /** + * @autogenerated This method is safe to replace + * @param $value ServiceConfigurationResponseMessageType[] + * @return GetServiceConfigurationResponseMessageType + */ + public function setResponseMessages(array $value) + { + $this->responseMessages = $this->castValueIfNeeded("responseMessages", $value); + return $this; + } } diff --git a/src/API/Message/GetServiceConfigurationType.php b/src/API/Message/GetServiceConfigurationType.php index 3b1bf2e4..c5288d9d 100644 --- a/src/API/Message/GetServiceConfigurationType.php +++ b/src/API/Message/GetServiceConfigurationType.php @@ -8,9 +8,7 @@ * * XSD Type: GetServiceConfigurationType * - * @method GetServiceConfigurationType setActingAs(\garethp\ews\API\Type\EmailAddressType $actingAs) * @method GetServiceConfigurationType addRequestedConfiguration(\garethp\ews\API\Enumeration\ServiceConfigurationType $requestedConfiguration) - * @method GetServiceConfigurationType setRequestedConfiguration(array $requestedConfiguration) */ class GetServiceConfigurationType extends BaseRequestType { @@ -40,4 +38,26 @@ public function getRequestedConfiguration() { return $this->requestedConfiguration; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return GetServiceConfigurationType + */ + public function setActingAs(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->actingAs = $this->castValueIfNeeded("actingAs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Enumeration\ServiceConfigurationType[] + * @return GetServiceConfigurationType + */ + public function setRequestedConfiguration(array $value) + { + $this->requestedConfiguration = $this->castValueIfNeeded("requestedConfiguration", $value); + return $this; + } } diff --git a/src/API/Message/GetSharingFolderResponseMessageType.php b/src/API/Message/GetSharingFolderResponseMessageType.php index 946a9589..7f5a2f3d 100644 --- a/src/API/Message/GetSharingFolderResponseMessageType.php +++ b/src/API/Message/GetSharingFolderResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetSharingFolderResponseMessageType - * - * @method GetSharingFolderResponseMessageType setSharingFolderId(\garethp\ews\API\Type\FolderIdType $sharingFolderId) */ class GetSharingFolderResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getSharingFolderId() { return $this->sharingFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderIdType + * @return GetSharingFolderResponseMessageType + */ + public function setSharingFolderId(\garethp\ews\API\Type\FolderIdType $value) + { + $this->sharingFolderId = $this->castValueIfNeeded("sharingFolderId", $value); + return $this; + } } diff --git a/src/API/Message/GetSharingFolderType.php b/src/API/Message/GetSharingFolderType.php index c198207b..6a7db6df 100644 --- a/src/API/Message/GetSharingFolderType.php +++ b/src/API/Message/GetSharingFolderType.php @@ -7,10 +7,6 @@ * * * XSD Type: GetSharingFolderType - * - * @method GetSharingFolderType setSmtpAddress(string $smtpAddress) - * @method GetSharingFolderType setDataType(string $dataType) - * @method GetSharingFolderType setSharedFolderId(string $sharedFolderId) */ class GetSharingFolderType extends BaseRequestType { @@ -53,4 +49,37 @@ public function getSharedFolderId() { return $this->sharedFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetSharingFolderType + */ + public function setSmtpAddress($value) + { + $this->smtpAddress = $this->castValueIfNeeded("smtpAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetSharingFolderType + */ + public function setDataType($value) + { + $this->dataType = $this->castValueIfNeeded("dataType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetSharingFolderType + */ + public function setSharedFolderId($value) + { + $this->sharedFolderId = $this->castValueIfNeeded("sharedFolderId", $value); + return $this; + } } diff --git a/src/API/Message/GetSharingMetadataResponseMessageType.php b/src/API/Message/GetSharingMetadataResponseMessageType.php index e61c77ca..6698604d 100644 --- a/src/API/Message/GetSharingMetadataResponseMessageType.php +++ b/src/API/Message/GetSharingMetadataResponseMessageType.php @@ -9,9 +9,7 @@ * XSD Type: GetSharingMetadataResponseMessageType * * @method GetSharingMetadataResponseMessageType addEncryptedSharedFolderDataCollection(\garethp\ews\API\Type\EncryptedSharedFolderDataType $encryptedSharedFolderDataCollection) - * @method GetSharingMetadataResponseMessageType setEncryptedSharedFolderDataCollection(array $encryptedSharedFolderDataCollection) * @method GetSharingMetadataResponseMessageType addInvalidRecipients(\garethp\ews\API\Type\InvalidRecipientType $invalidRecipients) - * @method GetSharingMetadataResponseMessageType setInvalidRecipients(array $invalidRecipients) */ class GetSharingMetadataResponseMessageType extends ResponseMessageType { @@ -41,4 +39,26 @@ public function getInvalidRecipients() { return $this->invalidRecipients; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EncryptedSharedFolderDataType[] + * @return GetSharingMetadataResponseMessageType + */ + public function setEncryptedSharedFolderDataCollection(array $value) + { + $this->encryptedSharedFolderDataCollection = $this->castValueIfNeeded("encryptedSharedFolderDataCollection", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\InvalidRecipientType[] + * @return GetSharingMetadataResponseMessageType + */ + public function setInvalidRecipients(array $value) + { + $this->invalidRecipients = $this->castValueIfNeeded("invalidRecipients", $value); + return $this; + } } diff --git a/src/API/Message/GetSharingMetadataType.php b/src/API/Message/GetSharingMetadataType.php index a4f8de1b..4c2686d3 100644 --- a/src/API/Message/GetSharingMetadataType.php +++ b/src/API/Message/GetSharingMetadataType.php @@ -8,10 +8,7 @@ * * XSD Type: GetSharingMetadataType * - * @method GetSharingMetadataType setIdOfFolderToShare(\garethp\ews\API\Type\FolderIdType $idOfFolderToShare) - * @method GetSharingMetadataType setSenderSmtpAddress(string $senderSmtpAddress) * @method GetSharingMetadataType addRecipients(string $recipients) - * @method GetSharingMetadataType setRecipients(array $recipients) */ class GetSharingMetadataType extends BaseRequestType { @@ -54,4 +51,37 @@ public function getRecipients() { return $this->recipients; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderIdType + * @return GetSharingMetadataType + */ + public function setIdOfFolderToShare(\garethp\ews\API\Type\FolderIdType $value) + { + $this->idOfFolderToShare = $this->castValueIfNeeded("idOfFolderToShare", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetSharingMetadataType + */ + public function setSenderSmtpAddress($value) + { + $this->senderSmtpAddress = $this->castValueIfNeeded("senderSmtpAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetSharingMetadataType + */ + public function setRecipients(array $value) + { + $this->recipients = $this->castValueIfNeeded("recipients", $value); + return $this; + } } diff --git a/src/API/Message/GetStreamingEventsResponseMessageType.php b/src/API/Message/GetStreamingEventsResponseMessageType.php index 691d597c..9b61c0c8 100644 --- a/src/API/Message/GetStreamingEventsResponseMessageType.php +++ b/src/API/Message/GetStreamingEventsResponseMessageType.php @@ -9,10 +9,7 @@ * XSD Type: GetStreamingEventsResponseMessageType * * @method GetStreamingEventsResponseMessageType addNotifications(\garethp\ews\API\Type\NotificationType $notifications) - * @method GetStreamingEventsResponseMessageType setNotifications(array $notifications) * @method GetStreamingEventsResponseMessageType addErrorSubscriptionIds(string $errorSubscriptionIds) - * @method GetStreamingEventsResponseMessageType setErrorSubscriptionIds(array $errorSubscriptionIds) - * @method GetStreamingEventsResponseMessageType setConnectionStatus(string $connectionStatus) */ class GetStreamingEventsResponseMessageType extends ResponseMessageType { @@ -55,4 +52,37 @@ public function getConnectionStatus() { return $this->connectionStatus; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NotificationType[] + * @return GetStreamingEventsResponseMessageType + */ + public function setNotifications(array $value) + { + $this->notifications = $this->castValueIfNeeded("notifications", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetStreamingEventsResponseMessageType + */ + public function setErrorSubscriptionIds(array $value) + { + $this->errorSubscriptionIds = $this->castValueIfNeeded("errorSubscriptionIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetStreamingEventsResponseMessageType + */ + public function setConnectionStatus($value) + { + $this->connectionStatus = $this->castValueIfNeeded("connectionStatus", $value); + return $this; + } } diff --git a/src/API/Message/GetStreamingEventsType.php b/src/API/Message/GetStreamingEventsType.php index 3424d649..3281ea5e 100644 --- a/src/API/Message/GetStreamingEventsType.php +++ b/src/API/Message/GetStreamingEventsType.php @@ -9,8 +9,6 @@ * XSD Type: GetStreamingEventsType * * @method GetStreamingEventsType addSubscriptionIds(string $subscriptionIds) - * @method GetStreamingEventsType setSubscriptionIds(array $subscriptionIds) - * @method GetStreamingEventsType setConnectionTimeout(integer $connectionTimeout) */ class GetStreamingEventsType extends BaseRequestType { @@ -40,4 +38,26 @@ public function getConnectionTimeout() { return $this->connectionTimeout; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetStreamingEventsType + */ + public function setSubscriptionIds(array $value) + { + $this->subscriptionIds = $this->castValueIfNeeded("subscriptionIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return GetStreamingEventsType + */ + public function setConnectionTimeout($value) + { + $this->connectionTimeout = $this->castValueIfNeeded("connectionTimeout", $value); + return $this; + } } diff --git a/src/API/Message/GetUserAvailabilityRequestType.php b/src/API/Message/GetUserAvailabilityRequestType.php index 5c6d1486..5ac20c07 100644 --- a/src/API/Message/GetUserAvailabilityRequestType.php +++ b/src/API/Message/GetUserAvailabilityRequestType.php @@ -8,11 +8,7 @@ * * XSD Type: GetUserAvailabilityRequestType * - * @method GetUserAvailabilityRequestType setTimeZone(\garethp\ews\API\Type\TimeZone $timeZone) * @method GetUserAvailabilityRequestType addMailboxDataArray(\garethp\ews\API\Type\MailboxDataType $mailboxDataArray) - * @method GetUserAvailabilityRequestType setMailboxDataArray(array $mailboxDataArray) - * @method GetUserAvailabilityRequestType setFreeBusyViewOptions(\garethp\ews\API\Type\FreeBusyViewOptions $freeBusyViewOptions) - * @method GetUserAvailabilityRequestType setSuggestionsViewOptions(\garethp\ews\API\Type\SuggestionsViewOptions $suggestionsViewOptions) */ class GetUserAvailabilityRequestType extends BaseRequestType { @@ -68,4 +64,48 @@ public function getSuggestionsViewOptions() { return $this->suggestionsViewOptions; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TimeZone + * @return GetUserAvailabilityRequestType + */ + public function setTimeZone(\garethp\ews\API\Type\TimeZone $value) + { + $this->timeZone = $this->castValueIfNeeded("timeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\MailboxDataType[] + * @return GetUserAvailabilityRequestType + */ + public function setMailboxDataArray(array $value) + { + $this->mailboxDataArray = $this->castValueIfNeeded("mailboxDataArray", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FreeBusyViewOptions + * @return GetUserAvailabilityRequestType + */ + public function setFreeBusyViewOptions(\garethp\ews\API\Type\FreeBusyViewOptions $value) + { + $this->freeBusyViewOptions = $this->castValueIfNeeded("freeBusyViewOptions", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\SuggestionsViewOptions + * @return GetUserAvailabilityRequestType + */ + public function setSuggestionsViewOptions(\garethp\ews\API\Type\SuggestionsViewOptions $value) + { + $this->suggestionsViewOptions = $this->castValueIfNeeded("suggestionsViewOptions", $value); + return $this; + } } diff --git a/src/API/Message/GetUserAvailabilityResponseType.php b/src/API/Message/GetUserAvailabilityResponseType.php index b6939722..ebff1316 100644 --- a/src/API/Message/GetUserAvailabilityResponseType.php +++ b/src/API/Message/GetUserAvailabilityResponseType.php @@ -11,8 +11,6 @@ * XSD Type: GetUserAvailabilityResponseType * * @method GetUserAvailabilityResponseType addFreeBusyResponseArray(FreeBusyResponseType $freeBusyResponseArray) - * @method GetUserAvailabilityResponseType setFreeBusyResponseArray(array $freeBusyResponseArray) - * @method GetUserAvailabilityResponseType setSuggestionsResponse(SuggestionsResponseType $suggestionsResponse) */ class GetUserAvailabilityResponseType extends Message { @@ -42,4 +40,26 @@ public function getSuggestionsResponse() { return $this->suggestionsResponse; } + + /** + * @autogenerated This method is safe to replace + * @param $value FreeBusyResponseType[] + * @return GetUserAvailabilityResponseType + */ + public function setFreeBusyResponseArray(array $value) + { + $this->freeBusyResponseArray = $this->castValueIfNeeded("freeBusyResponseArray", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SuggestionsResponseType + * @return GetUserAvailabilityResponseType + */ + public function setSuggestionsResponse(SuggestionsResponseType $value) + { + $this->suggestionsResponse = $this->castValueIfNeeded("suggestionsResponse", $value); + return $this; + } } diff --git a/src/API/Message/GetUserConfigurationResponseMessageType.php b/src/API/Message/GetUserConfigurationResponseMessageType.php index d579ec86..61856488 100644 --- a/src/API/Message/GetUserConfigurationResponseMessageType.php +++ b/src/API/Message/GetUserConfigurationResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetUserConfigurationResponseMessageType - * - * @method GetUserConfigurationResponseMessageType setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $userConfiguration) */ class GetUserConfigurationResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getUserConfiguration() { return $this->userConfiguration; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserConfigurationType + * @return GetUserConfigurationResponseMessageType + */ + public function setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $value) + { + $this->userConfiguration = $this->castValueIfNeeded("userConfiguration", $value); + return $this; + } } diff --git a/src/API/Message/GetUserConfigurationType.php b/src/API/Message/GetUserConfigurationType.php index d701cadd..9626d0eb 100644 --- a/src/API/Message/GetUserConfigurationType.php +++ b/src/API/Message/GetUserConfigurationType.php @@ -8,9 +8,7 @@ * * XSD Type: GetUserConfigurationType * - * @method GetUserConfigurationType setUserConfigurationName(\garethp\ews\API\Type\UserConfigurationNameType $userConfigurationName) * @method GetUserConfigurationType addUserConfigurationProperties(string $userConfigurationProperties) - * @method GetUserConfigurationType setUserConfigurationProperties(array $userConfigurationProperties) */ class GetUserConfigurationType extends BaseRequestType { @@ -40,4 +38,26 @@ public function getUserConfigurationProperties() { return $this->userConfigurationProperties; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserConfigurationNameType + * @return GetUserConfigurationType + */ + public function setUserConfigurationName(\garethp\ews\API\Type\UserConfigurationNameType $value) + { + $this->userConfigurationName = $this->castValueIfNeeded("userConfigurationName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return GetUserConfigurationType + */ + public function setUserConfigurationProperties(array $value) + { + $this->userConfigurationProperties = $this->castValueIfNeeded("userConfigurationProperties", $value); + return $this; + } } diff --git a/src/API/Message/GetUserOofSettingsRequestType.php b/src/API/Message/GetUserOofSettingsRequestType.php index 9a2f3caf..29aad10c 100644 --- a/src/API/Message/GetUserOofSettingsRequestType.php +++ b/src/API/Message/GetUserOofSettingsRequestType.php @@ -7,8 +7,6 @@ * * * XSD Type: GetUserOofSettingsRequest - * - * @method GetUserOofSettingsRequestType setMailbox(\garethp\ews\API\Type\EmailAddressType $mailbox) */ class GetUserOofSettingsRequestType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return GetUserOofSettingsRequestType + */ + public function setMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Message/GetUserOofSettingsResponseType.php b/src/API/Message/GetUserOofSettingsResponseType.php index eebe08d7..deabf184 100644 --- a/src/API/Message/GetUserOofSettingsResponseType.php +++ b/src/API/Message/GetUserOofSettingsResponseType.php @@ -9,10 +9,6 @@ * * * XSD Type: GetUserOofSettingsResponse - * - * @method GetUserOofSettingsResponseType setResponseMessage(ResponseMessageType $responseMessage) - * @method GetUserOofSettingsResponseType setOofSettings(\garethp\ews\API\Type\OofSettings $oofSettings) - * @method GetUserOofSettingsResponseType setAllowExternalOof(string $allowExternalOof) */ class GetUserOofSettingsResponseType extends Message { @@ -55,4 +51,37 @@ public function getAllowExternalOof() { return $this->allowExternalOof; } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType + * @return GetUserOofSettingsResponseType + */ + public function setResponseMessage(ResponseMessageType $value) + { + $this->responseMessage = $this->castValueIfNeeded("responseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\OofSettings + * @return GetUserOofSettingsResponseType + */ + public function setOofSettings(\garethp\ews\API\Type\OofSettings $value) + { + $this->oofSettings = $this->castValueIfNeeded("oofSettings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GetUserOofSettingsResponseType + */ + public function setAllowExternalOof($value) + { + $this->allowExternalOof = $this->castValueIfNeeded("allowExternalOof", $value); + return $this; + } } diff --git a/src/API/Message/ItemInfoResponseMessageType.php b/src/API/Message/ItemInfoResponseMessageType.php index 54392a2f..cdefec26 100644 --- a/src/API/Message/ItemInfoResponseMessageType.php +++ b/src/API/Message/ItemInfoResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: ItemInfoResponseMessageType - * - * @method ItemInfoResponseMessageType setItems(\garethp\ews\API\Type\ArrayOfRealItemsType $items) */ class ItemInfoResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getItems() { return $this->items; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfRealItemsType + * @return ItemInfoResponseMessageType + */ + public function setItems(\garethp\ews\API\Type\ArrayOfRealItemsType $value) + { + $this->items = $this->castValueIfNeeded("items", $value); + return $this; + } } diff --git a/src/API/Message/MailTipsResponseMessageType.php b/src/API/Message/MailTipsResponseMessageType.php index 01c9589a..7f5d5fe6 100644 --- a/src/API/Message/MailTipsResponseMessageType.php +++ b/src/API/Message/MailTipsResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: MailTipsResponseMessageType - * - * @method MailTipsResponseMessageType setMailTips(\garethp\ews\API\Type\MailTipsType $mailTips) */ class MailTipsResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getMailTips() { return $this->mailTips; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\MailTipsType + * @return MailTipsResponseMessageType + */ + public function setMailTips(\garethp\ews\API\Type\MailTipsType $value) + { + $this->mailTips = $this->castValueIfNeeded("mailTips", $value); + return $this; + } } diff --git a/src/API/Message/PlayOnPhoneResponseMessageType.php b/src/API/Message/PlayOnPhoneResponseMessageType.php index 50ac02ea..feb302b4 100644 --- a/src/API/Message/PlayOnPhoneResponseMessageType.php +++ b/src/API/Message/PlayOnPhoneResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: PlayOnPhoneResponseMessageType - * - * @method PlayOnPhoneResponseMessageType setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $phoneCallId) */ class PlayOnPhoneResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getPhoneCallId() { return $this->phoneCallId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PhoneCallIdType + * @return PlayOnPhoneResponseMessageType + */ + public function setPhoneCallId(\garethp\ews\API\Type\PhoneCallIdType $value) + { + $this->phoneCallId = $this->castValueIfNeeded("phoneCallId", $value); + return $this; + } } diff --git a/src/API/Message/PlayOnPhoneType.php b/src/API/Message/PlayOnPhoneType.php index 6b33a5d4..65433aea 100644 --- a/src/API/Message/PlayOnPhoneType.php +++ b/src/API/Message/PlayOnPhoneType.php @@ -7,9 +7,6 @@ * * * XSD Type: PlayOnPhoneType - * - * @method PlayOnPhoneType setItemId(\garethp\ews\API\Type\ItemIdType $itemId) - * @method PlayOnPhoneType setDialString(string $dialString) */ class PlayOnPhoneType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getDialString() { return $this->dialString; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType + * @return PlayOnPhoneType + */ + public function setItemId(\garethp\ews\API\Type\ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PlayOnPhoneType + */ + public function setDialString($value) + { + $this->dialString = $this->castValueIfNeeded("dialString", $value); + return $this; + } } diff --git a/src/API/Message/RefreshSharingFolderType.php b/src/API/Message/RefreshSharingFolderType.php index be14f9ca..9bc2c1fa 100644 --- a/src/API/Message/RefreshSharingFolderType.php +++ b/src/API/Message/RefreshSharingFolderType.php @@ -7,8 +7,6 @@ * * * XSD Type: RefreshSharingFolderType - * - * @method RefreshSharingFolderType setSharingFolderId(\garethp\ews\API\Type\FolderIdType $sharingFolderId) */ class RefreshSharingFolderType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getSharingFolderId() { return $this->sharingFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderIdType + * @return RefreshSharingFolderType + */ + public function setSharingFolderId(\garethp\ews\API\Type\FolderIdType $value) + { + $this->sharingFolderId = $this->castValueIfNeeded("sharingFolderId", $value); + return $this; + } } diff --git a/src/API/Message/RemoveDelegateType.php b/src/API/Message/RemoveDelegateType.php index ebd41314..28ab90d0 100644 --- a/src/API/Message/RemoveDelegateType.php +++ b/src/API/Message/RemoveDelegateType.php @@ -9,7 +9,6 @@ * XSD Type: RemoveDelegateType * * @method RemoveDelegateType addUserIds(\garethp\ews\API\Type\UserIdType $userIds) - * @method RemoveDelegateType setUserIds(array $userIds) */ class RemoveDelegateType extends BaseDelegateType { @@ -26,4 +25,15 @@ public function getUserIds() { return $this->userIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserIdType[] + * @return RemoveDelegateType + */ + public function setUserIds(array $value) + { + $this->userIds = $this->castValueIfNeeded("userIds", $value); + return $this; + } } diff --git a/src/API/Message/ResolveNamesResponseMessageType.php b/src/API/Message/ResolveNamesResponseMessageType.php index ea907c83..1107c131 100644 --- a/src/API/Message/ResolveNamesResponseMessageType.php +++ b/src/API/Message/ResolveNamesResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: ResolveNamesResponseMessageType - * - * @method ResolveNamesResponseMessageType setResolutionSet(\garethp\ews\API\Type\ArrayOfResolutionType $resolutionSet) */ class ResolveNamesResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getResolutionSet() { return $this->resolutionSet; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfResolutionType + * @return ResolveNamesResponseMessageType + */ + public function setResolutionSet(\garethp\ews\API\Type\ArrayOfResolutionType $value) + { + $this->resolutionSet = $this->castValueIfNeeded("resolutionSet", $value); + return $this; + } } diff --git a/src/API/Message/ResolveNamesType.php b/src/API/Message/ResolveNamesType.php index 792e99fe..0e781ad4 100644 --- a/src/API/Message/ResolveNamesType.php +++ b/src/API/Message/ResolveNamesType.php @@ -7,12 +7,6 @@ * * * XSD Type: ResolveNamesType - * - * @method ResolveNamesType setReturnFullContactData(boolean $returnFullContactData) - * @method ResolveNamesType setSearchScope(string $searchScope) - * @method ResolveNamesType setContactDataShape(string $contactDataShape) - * @method ResolveNamesType setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $parentFolderIds) - * @method ResolveNamesType setUnresolvedEntry(string $unresolvedEntry) */ class ResolveNamesType extends BaseRequestType { @@ -42,14 +36,6 @@ class ResolveNamesType extends BaseRequestType */ protected $unresolvedEntry = null; - /** - * @returns bool - */ - public function isReturnFullContactData() - { - return ((bool) $this->returnFullContactData); - } - /** * @return boolean */ @@ -89,4 +75,67 @@ public function getUnresolvedEntry() { return $this->unresolvedEntry; } + + /** + * @returns bool + */ + public function isReturnFullContactData() + { + return ((bool) $this->returnFullContactData); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ResolveNamesType + */ + public function setReturnFullContactData($value) + { + $this->returnFullContactData = $this->castValueIfNeeded("returnFullContactData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResolveNamesType + */ + public function setSearchScope($value) + { + $this->searchScope = $this->castValueIfNeeded("searchScope", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResolveNamesType + */ + public function setContactDataShape($value) + { + $this->contactDataShape = $this->castValueIfNeeded("contactDataShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType + * @return ResolveNamesType + */ + public function setParentFolderIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->parentFolderIds = $this->castValueIfNeeded("parentFolderIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResolveNamesType + */ + public function setUnresolvedEntry($value) + { + $this->unresolvedEntry = $this->castValueIfNeeded("unresolvedEntry", $value); + return $this; + } } diff --git a/src/API/Message/ResponseMessageType.php b/src/API/Message/ResponseMessageType.php index 1ac81569..52aa4b3a 100644 --- a/src/API/Message/ResponseMessageType.php +++ b/src/API/Message/ResponseMessageType.php @@ -9,12 +9,6 @@ * * * XSD Type: ResponseMessageType - * - * @method ResponseMessageType setResponseClass(string $responseClass) - * @method ResponseMessageType setMessageText(string $messageText) - * @method ResponseMessageType setResponseCode(string $responseCode) - * @method ResponseMessageType setDescriptiveLinkKey(integer $descriptiveLinkKey) - * @method ResponseMessageType setMessageXml(\garethp\ews\API\Message\ResponseMessageType\MessageXmlAType $messageXml) */ class ResponseMessageType extends Message { @@ -83,4 +77,59 @@ public function getMessageXml() { return $this->messageXml; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResponseMessageType + */ + public function setResponseClass($value) + { + $this->responseClass = $this->castValueIfNeeded("responseClass", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResponseMessageType + */ + public function setMessageText($value) + { + $this->messageText = $this->castValueIfNeeded("messageText", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResponseMessageType + */ + public function setResponseCode($value) + { + $this->responseCode = $this->castValueIfNeeded("responseCode", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ResponseMessageType + */ + public function setDescriptiveLinkKey($value) + { + $this->descriptiveLinkKey = $this->castValueIfNeeded("descriptiveLinkKey", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Message\ResponseMessageType\MessageXmlAType + * @return ResponseMessageType + */ + public function setMessageXml(\garethp\ews\API\Message\ResponseMessageType\MessageXmlAType $value) + { + $this->messageXml = $this->castValueIfNeeded("messageXml", $value); + return $this; + } } diff --git a/src/API/Message/SendItemType.php b/src/API/Message/SendItemType.php index 958aec5c..eaa45851 100644 --- a/src/API/Message/SendItemType.php +++ b/src/API/Message/SendItemType.php @@ -7,10 +7,6 @@ * * * XSD Type: SendItemType - * - * @method SendItemType setSaveItemToFolder(boolean $saveItemToFolder) - * @method SendItemType setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $itemIds) - * @method SendItemType setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $savedItemFolderId) */ class SendItemType extends BaseRequestType { @@ -30,14 +26,6 @@ class SendItemType extends BaseRequestType */ protected $savedItemFolderId = null; - /** - * @returns bool - */ - public function isSaveItemToFolder() - { - return ((bool) $this->saveItemToFolder); - } - /** * @return boolean */ @@ -61,4 +49,45 @@ public function getSavedItemFolderId() { return $this->savedItemFolderId; } + + /** + * @returns bool + */ + public function isSaveItemToFolder() + { + return ((bool) $this->saveItemToFolder); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return SendItemType + */ + public function setSaveItemToFolder($value) + { + $this->saveItemToFolder = $this->castValueIfNeeded("saveItemToFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType + * @return SendItemType + */ + public function setItemIds(\garethp\ews\API\Type\NonEmptyArrayOfBaseItemIdsType $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return SendItemType + */ + public function setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->savedItemFolderId = $this->castValueIfNeeded("savedItemFolderId", $value); + return $this; + } } diff --git a/src/API/Message/SendNotificationResponseMessageType.php b/src/API/Message/SendNotificationResponseMessageType.php index 693dad06..5c80f006 100644 --- a/src/API/Message/SendNotificationResponseMessageType.php +++ b/src/API/Message/SendNotificationResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: SendNotificationResponseMessageType - * - * @method SendNotificationResponseMessageType setNotification(\garethp\ews\API\Type\NotificationType $notification) */ class SendNotificationResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getNotification() { return $this->notification; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\NotificationType + * @return SendNotificationResponseMessageType + */ + public function setNotification(\garethp\ews\API\Type\NotificationType $value) + { + $this->notification = $this->castValueIfNeeded("notification", $value); + return $this; + } } diff --git a/src/API/Message/SendNotificationResultType.php b/src/API/Message/SendNotificationResultType.php index fa138ea4..76afbc98 100644 --- a/src/API/Message/SendNotificationResultType.php +++ b/src/API/Message/SendNotificationResultType.php @@ -9,8 +9,6 @@ * * * XSD Type: SendNotificationResultType - * - * @method SendNotificationResultType setSubscriptionStatus(string $subscriptionStatus) */ class SendNotificationResultType extends Message { @@ -27,4 +25,15 @@ public function getSubscriptionStatus() { return $this->subscriptionStatus; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SendNotificationResultType + */ + public function setSubscriptionStatus($value) + { + $this->subscriptionStatus = $this->castValueIfNeeded("subscriptionStatus", $value); + return $this; + } } diff --git a/src/API/Message/ServiceConfigurationResponseMessageType.php b/src/API/Message/ServiceConfigurationResponseMessageType.php index e069e5d9..8696c8c1 100644 --- a/src/API/Message/ServiceConfigurationResponseMessageType.php +++ b/src/API/Message/ServiceConfigurationResponseMessageType.php @@ -7,10 +7,6 @@ * * * XSD Type: ServiceConfigurationResponseMessageType - * - * @method ServiceConfigurationResponseMessageType setMailTipsConfiguration(\garethp\ews\API\Type\MailTipsServiceConfigurationType $mailTipsConfiguration) - * @method ServiceConfigurationResponseMessageType setUnifiedMessagingConfiguration(\garethp\ews\API\Type\UnifiedMessageServiceConfigurationType $unifiedMessagingConfiguration) - * @method ServiceConfigurationResponseMessageType setProtectionRulesConfiguration(\garethp\ews\API\Type\ProtectionRulesServiceConfigurationType $protectionRulesConfiguration) */ class ServiceConfigurationResponseMessageType extends ResponseMessageType { @@ -53,4 +49,37 @@ public function getProtectionRulesConfiguration() { return $this->protectionRulesConfiguration; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\MailTipsServiceConfigurationType + * @return ServiceConfigurationResponseMessageType + */ + public function setMailTipsConfiguration(\garethp\ews\API\Type\MailTipsServiceConfigurationType $value) + { + $this->mailTipsConfiguration = $this->castValueIfNeeded("mailTipsConfiguration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UnifiedMessageServiceConfigurationType + * @return ServiceConfigurationResponseMessageType + */ + public function setUnifiedMessagingConfiguration(\garethp\ews\API\Type\UnifiedMessageServiceConfigurationType $value) + { + $this->unifiedMessagingConfiguration = $this->castValueIfNeeded("unifiedMessagingConfiguration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ProtectionRulesServiceConfigurationType + * @return ServiceConfigurationResponseMessageType + */ + public function setProtectionRulesConfiguration(\garethp\ews\API\Type\ProtectionRulesServiceConfigurationType $value) + { + $this->protectionRulesConfiguration = $this->castValueIfNeeded("protectionRulesConfiguration", $value); + return $this; + } } diff --git a/src/API/Message/SetUserOofSettingsRequestType.php b/src/API/Message/SetUserOofSettingsRequestType.php index b2644c43..34b37802 100644 --- a/src/API/Message/SetUserOofSettingsRequestType.php +++ b/src/API/Message/SetUserOofSettingsRequestType.php @@ -7,9 +7,6 @@ * * * XSD Type: SetUserOofSettingsRequest - * - * @method SetUserOofSettingsRequestType setMailbox(\garethp\ews\API\Type\EmailAddressType $mailbox) - * @method SetUserOofSettingsRequestType setUserOofSettings(\garethp\ews\API\Type\UserOofSettings $userOofSettings) */ class SetUserOofSettingsRequestType extends BaseRequestType { @@ -39,4 +36,26 @@ public function getUserOofSettings() { return $this->userOofSettings; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\EmailAddressType + * @return SetUserOofSettingsRequestType + */ + public function setMailbox(\garethp\ews\API\Type\EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserOofSettings + * @return SetUserOofSettingsRequestType + */ + public function setUserOofSettings(\garethp\ews\API\Type\UserOofSettings $value) + { + $this->userOofSettings = $this->castValueIfNeeded("userOofSettings", $value); + return $this; + } } diff --git a/src/API/Message/SetUserOofSettingsResponseType.php b/src/API/Message/SetUserOofSettingsResponseType.php index 129736aa..6b1dfe44 100644 --- a/src/API/Message/SetUserOofSettingsResponseType.php +++ b/src/API/Message/SetUserOofSettingsResponseType.php @@ -9,8 +9,6 @@ * * * XSD Type: SetUserOofSettingsResponse - * - * @method SetUserOofSettingsResponseType setResponseMessage(ResponseMessageType $responseMessage) */ class SetUserOofSettingsResponseType extends Message { @@ -27,4 +25,15 @@ public function getResponseMessage() { return $this->responseMessage; } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType + * @return SetUserOofSettingsResponseType + */ + public function setResponseMessage(ResponseMessageType $value) + { + $this->responseMessage = $this->castValueIfNeeded("responseMessage", $value); + return $this; + } } diff --git a/src/API/Message/SubscribeResponseMessageType.php b/src/API/Message/SubscribeResponseMessageType.php index 8b685679..b2fc6df1 100644 --- a/src/API/Message/SubscribeResponseMessageType.php +++ b/src/API/Message/SubscribeResponseMessageType.php @@ -7,9 +7,6 @@ * * * XSD Type: SubscribeResponseMessageType - * - * @method SubscribeResponseMessageType setSubscriptionId(string $subscriptionId) - * @method SubscribeResponseMessageType setWatermark(string $watermark) */ class SubscribeResponseMessageType extends ResponseMessageType { @@ -39,4 +36,26 @@ public function getWatermark() { return $this->watermark; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SubscribeResponseMessageType + */ + public function setSubscriptionId($value) + { + $this->subscriptionId = $this->castValueIfNeeded("subscriptionId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SubscribeResponseMessageType + */ + public function setWatermark($value) + { + $this->watermark = $this->castValueIfNeeded("watermark", $value); + return $this; + } } diff --git a/src/API/Message/SubscribeType.php b/src/API/Message/SubscribeType.php index 22b69881..0e7d105e 100644 --- a/src/API/Message/SubscribeType.php +++ b/src/API/Message/SubscribeType.php @@ -7,10 +7,6 @@ * * * XSD Type: SubscribeType - * - * @method SubscribeType setPullSubscriptionRequest(\garethp\ews\API\Type\PullSubscriptionRequestType $pullSubscriptionRequest) - * @method SubscribeType setPushSubscriptionRequest(\garethp\ews\API\Type\PushSubscriptionRequestType $pushSubscriptionRequest) - * @method SubscribeType setStreamingSubscriptionRequest(\garethp\ews\API\Type\StreamingSubscriptionRequestType $streamingSubscriptionRequest) */ class SubscribeType extends BaseRequestType { @@ -53,4 +49,37 @@ public function getStreamingSubscriptionRequest() { return $this->streamingSubscriptionRequest; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PullSubscriptionRequestType + * @return SubscribeType + */ + public function setPullSubscriptionRequest(\garethp\ews\API\Type\PullSubscriptionRequestType $value) + { + $this->pullSubscriptionRequest = $this->castValueIfNeeded("pullSubscriptionRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\PushSubscriptionRequestType + * @return SubscribeType + */ + public function setPushSubscriptionRequest(\garethp\ews\API\Type\PushSubscriptionRequestType $value) + { + $this->pushSubscriptionRequest = $this->castValueIfNeeded("pushSubscriptionRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\StreamingSubscriptionRequestType + * @return SubscribeType + */ + public function setStreamingSubscriptionRequest(\garethp\ews\API\Type\StreamingSubscriptionRequestType $value) + { + $this->streamingSubscriptionRequest = $this->castValueIfNeeded("streamingSubscriptionRequest", $value); + return $this; + } } diff --git a/src/API/Message/SuggestionsResponseType.php b/src/API/Message/SuggestionsResponseType.php index 9be1bf7c..9b7c1fae 100644 --- a/src/API/Message/SuggestionsResponseType.php +++ b/src/API/Message/SuggestionsResponseType.php @@ -10,9 +10,7 @@ * * XSD Type: SuggestionsResponseType * - * @method SuggestionsResponseType setResponseMessage(ResponseMessageType $responseMessage) * @method SuggestionsResponseType addSuggestionDayResultArray(\garethp\ews\API\Type\SuggestionDayResultType $suggestionDayResultArray) - * @method SuggestionsResponseType setSuggestionDayResultArray(array $suggestionDayResultArray) */ class SuggestionsResponseType extends Message { @@ -42,4 +40,26 @@ public function getSuggestionDayResultArray() { return $this->suggestionDayResultArray; } + + /** + * @autogenerated This method is safe to replace + * @param $value ResponseMessageType + * @return SuggestionsResponseType + */ + public function setResponseMessage(ResponseMessageType $value) + { + $this->responseMessage = $this->castValueIfNeeded("responseMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\SuggestionDayResultType[] + * @return SuggestionsResponseType + */ + public function setSuggestionDayResultArray(array $value) + { + $this->suggestionDayResultArray = $this->castValueIfNeeded("suggestionDayResultArray", $value); + return $this; + } } diff --git a/src/API/Message/SyncFolderHierarchyResponseMessageType.php b/src/API/Message/SyncFolderHierarchyResponseMessageType.php index aa9a744d..3f86c934 100644 --- a/src/API/Message/SyncFolderHierarchyResponseMessageType.php +++ b/src/API/Message/SyncFolderHierarchyResponseMessageType.php @@ -7,10 +7,6 @@ * * * XSD Type: SyncFolderHierarchyResponseMessageType - * - * @method SyncFolderHierarchyResponseMessageType setSyncState(string $syncState) - * @method SyncFolderHierarchyResponseMessageType setIncludesLastFolderInRange(boolean $includesLastFolderInRange) - * @method SyncFolderHierarchyResponseMessageType setChanges(\garethp\ews\API\Type\SyncFolderHierarchyChangesType $changes) */ class SyncFolderHierarchyResponseMessageType extends ResponseMessageType { @@ -38,6 +34,33 @@ public function getSyncState() return $this->syncState; } + /** + * @return boolean + */ + public function getIncludesLastFolderInRange() + { + return $this->includesLastFolderInRange; + } + + /** + * @return \garethp\ews\API\Type\SyncFolderHierarchyChangesType + */ + public function getChanges() + { + return $this->changes; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SyncFolderHierarchyResponseMessageType + */ + public function setSyncState($value) + { + $this->syncState = $this->castValueIfNeeded("syncState", $value); + return $this; + } + /** * @returns bool */ @@ -47,18 +70,24 @@ public function isIncludesLastFolderInRange() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return SyncFolderHierarchyResponseMessageType */ - public function getIncludesLastFolderInRange() + public function setIncludesLastFolderInRange($value) { - return $this->includesLastFolderInRange; + $this->includesLastFolderInRange = $this->castValueIfNeeded("includesLastFolderInRange", $value); + return $this; } /** - * @return \garethp\ews\API\Type\SyncFolderHierarchyChangesType + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\SyncFolderHierarchyChangesType + * @return SyncFolderHierarchyResponseMessageType */ - public function getChanges() + public function setChanges(\garethp\ews\API\Type\SyncFolderHierarchyChangesType $value) { - return $this->changes; + $this->changes = $this->castValueIfNeeded("changes", $value); + return $this; } } diff --git a/src/API/Message/SyncFolderHierarchyType.php b/src/API/Message/SyncFolderHierarchyType.php index aec965e2..93dc33d5 100644 --- a/src/API/Message/SyncFolderHierarchyType.php +++ b/src/API/Message/SyncFolderHierarchyType.php @@ -7,10 +7,6 @@ * * * XSD Type: SyncFolderHierarchyType - * - * @method SyncFolderHierarchyType setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $folderShape) - * @method SyncFolderHierarchyType setSyncFolderId(\garethp\ews\API\Type\TargetFolderIdType $syncFolderId) - * @method SyncFolderHierarchyType setSyncState(string $syncState) */ class SyncFolderHierarchyType extends BaseRequestType { @@ -53,4 +49,37 @@ public function getSyncState() { return $this->syncState; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderResponseShapeType + * @return SyncFolderHierarchyType + */ + public function setFolderShape(\garethp\ews\API\Type\FolderResponseShapeType $value) + { + $this->folderShape = $this->castValueIfNeeded("folderShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return SyncFolderHierarchyType + */ + public function setSyncFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->syncFolderId = $this->castValueIfNeeded("syncFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SyncFolderHierarchyType + */ + public function setSyncState($value) + { + $this->syncState = $this->castValueIfNeeded("syncState", $value); + return $this; + } } diff --git a/src/API/Message/SyncFolderItemsResponseMessageType.php b/src/API/Message/SyncFolderItemsResponseMessageType.php index 0c45df2f..80404e7b 100644 --- a/src/API/Message/SyncFolderItemsResponseMessageType.php +++ b/src/API/Message/SyncFolderItemsResponseMessageType.php @@ -7,10 +7,6 @@ * * * XSD Type: SyncFolderItemsResponseMessageType - * - * @method SyncFolderItemsResponseMessageType setSyncState(string $syncState) - * @method SyncFolderItemsResponseMessageType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method SyncFolderItemsResponseMessageType setChanges(\garethp\ews\API\Type\SyncFolderItemsChangesType $changes) */ class SyncFolderItemsResponseMessageType extends ResponseMessageType { @@ -38,6 +34,33 @@ public function getSyncState() return $this->syncState; } + /** + * @return boolean + */ + public function getIncludesLastItemInRange() + { + return $this->includesLastItemInRange; + } + + /** + * @return \garethp\ews\API\Type\SyncFolderItemsChangesType + */ + public function getChanges() + { + return $this->changes; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SyncFolderItemsResponseMessageType + */ + public function setSyncState($value) + { + $this->syncState = $this->castValueIfNeeded("syncState", $value); + return $this; + } + /** * @returns bool */ @@ -47,18 +70,24 @@ public function isIncludesLastItemInRange() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return SyncFolderItemsResponseMessageType */ - public function getIncludesLastItemInRange() + public function setIncludesLastItemInRange($value) { - return $this->includesLastItemInRange; + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; } /** - * @return \garethp\ews\API\Type\SyncFolderItemsChangesType + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\SyncFolderItemsChangesType + * @return SyncFolderItemsResponseMessageType */ - public function getChanges() + public function setChanges(\garethp\ews\API\Type\SyncFolderItemsChangesType $value) { - return $this->changes; + $this->changes = $this->castValueIfNeeded("changes", $value); + return $this; } } diff --git a/src/API/Message/SyncFolderItemsType.php b/src/API/Message/SyncFolderItemsType.php index d833c42e..a2c27155 100644 --- a/src/API/Message/SyncFolderItemsType.php +++ b/src/API/Message/SyncFolderItemsType.php @@ -8,13 +8,7 @@ * * XSD Type: SyncFolderItemsType * - * @method SyncFolderItemsType setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $itemShape) - * @method SyncFolderItemsType setSyncFolderId(\garethp\ews\API\Type\TargetFolderIdType $syncFolderId) - * @method SyncFolderItemsType setSyncState(string $syncState) * @method SyncFolderItemsType addIgnore(\garethp\ews\API\Type\ItemIdType $ignore) - * @method SyncFolderItemsType setIgnore(array $ignore) - * @method SyncFolderItemsType setMaxChangesReturned(integer $maxChangesReturned) - * @method SyncFolderItemsType setSyncScope(string $syncScope) */ class SyncFolderItemsType extends BaseRequestType { @@ -96,4 +90,70 @@ public function getSyncScope() { return $this->syncScope; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemResponseShapeType + * @return SyncFolderItemsType + */ + public function setItemShape(\garethp\ews\API\Type\ItemResponseShapeType $value) + { + $this->itemShape = $this->castValueIfNeeded("itemShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return SyncFolderItemsType + */ + public function setSyncFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->syncFolderId = $this->castValueIfNeeded("syncFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SyncFolderItemsType + */ + public function setSyncState($value) + { + $this->syncState = $this->castValueIfNeeded("syncState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType[] + * @return SyncFolderItemsType + */ + public function setIgnore(array $value) + { + $this->ignore = $this->castValueIfNeeded("ignore", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SyncFolderItemsType + */ + public function setMaxChangesReturned($value) + { + $this->maxChangesReturned = $this->castValueIfNeeded("maxChangesReturned", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SyncFolderItemsType + */ + public function setSyncScope($value) + { + $this->syncScope = $this->castValueIfNeeded("syncScope", $value); + return $this; + } } diff --git a/src/API/Message/UnsubscribeType.php b/src/API/Message/UnsubscribeType.php index f2ab9238..3b9bbe11 100644 --- a/src/API/Message/UnsubscribeType.php +++ b/src/API/Message/UnsubscribeType.php @@ -7,8 +7,6 @@ * * * XSD Type: UnsubscribeType - * - * @method UnsubscribeType setSubscriptionId(string $subscriptionId) */ class UnsubscribeType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getSubscriptionId() { return $this->subscriptionId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UnsubscribeType + */ + public function setSubscriptionId($value) + { + $this->subscriptionId = $this->castValueIfNeeded("subscriptionId", $value); + return $this; + } } diff --git a/src/API/Message/UpdateDelegateType.php b/src/API/Message/UpdateDelegateType.php index 90e96eaf..cba11bfe 100644 --- a/src/API/Message/UpdateDelegateType.php +++ b/src/API/Message/UpdateDelegateType.php @@ -9,8 +9,6 @@ * XSD Type: UpdateDelegateType * * @method UpdateDelegateType addDelegateUsers(\garethp\ews\API\Type\DelegateUserType $delegateUsers) - * @method UpdateDelegateType setDelegateUsers(array $delegateUsers) - * @method UpdateDelegateType setDeliverMeetingRequests(string $deliverMeetingRequests) */ class UpdateDelegateType extends BaseDelegateType { @@ -40,4 +38,26 @@ public function getDeliverMeetingRequests() { return $this->deliverMeetingRequests; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\DelegateUserType[] + * @return UpdateDelegateType + */ + public function setDelegateUsers(array $value) + { + $this->delegateUsers = $this->castValueIfNeeded("delegateUsers", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UpdateDelegateType + */ + public function setDeliverMeetingRequests($value) + { + $this->deliverMeetingRequests = $this->castValueIfNeeded("deliverMeetingRequests", $value); + return $this; + } } diff --git a/src/API/Message/UpdateFolderType.php b/src/API/Message/UpdateFolderType.php index b542f98a..db4158b6 100644 --- a/src/API/Message/UpdateFolderType.php +++ b/src/API/Message/UpdateFolderType.php @@ -9,7 +9,6 @@ * XSD Type: UpdateFolderType * * @method UpdateFolderType addFolderChanges(\garethp\ews\API\Type\FolderChangeType $folderChanges) - * @method UpdateFolderType setFolderChanges(array $folderChanges) */ class UpdateFolderType extends BaseRequestType { @@ -26,4 +25,15 @@ public function getFolderChanges() { return $this->folderChanges; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\FolderChangeType[] + * @return UpdateFolderType + */ + public function setFolderChanges(array $value) + { + $this->folderChanges = $this->castValueIfNeeded("folderChanges", $value); + return $this; + } } diff --git a/src/API/Message/UpdateInboxRulesRequestType.php b/src/API/Message/UpdateInboxRulesRequestType.php index f4deb640..ea0bec9f 100644 --- a/src/API/Message/UpdateInboxRulesRequestType.php +++ b/src/API/Message/UpdateInboxRulesRequestType.php @@ -7,10 +7,6 @@ * * * XSD Type: UpdateInboxRulesRequestType - * - * @method UpdateInboxRulesRequestType setMailboxSmtpAddress(string $mailboxSmtpAddress) - * @method UpdateInboxRulesRequestType setRemoveOutlookRuleBlob(boolean $removeOutlookRuleBlob) - * @method UpdateInboxRulesRequestType setOperations(\garethp\ews\API\Type\ArrayOfRuleOperationsType $operations) */ class UpdateInboxRulesRequestType extends BaseRequestType { @@ -38,6 +34,33 @@ public function getMailboxSmtpAddress() return $this->mailboxSmtpAddress; } + /** + * @return boolean + */ + public function getRemoveOutlookRuleBlob() + { + return $this->removeOutlookRuleBlob; + } + + /** + * @return \garethp\ews\API\Type\ArrayOfRuleOperationsType + */ + public function getOperations() + { + return $this->operations; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UpdateInboxRulesRequestType + */ + public function setMailboxSmtpAddress($value) + { + $this->mailboxSmtpAddress = $this->castValueIfNeeded("mailboxSmtpAddress", $value); + return $this; + } + /** * @returns bool */ @@ -47,18 +70,24 @@ public function isRemoveOutlookRuleBlob() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return UpdateInboxRulesRequestType */ - public function getRemoveOutlookRuleBlob() + public function setRemoveOutlookRuleBlob($value) { - return $this->removeOutlookRuleBlob; + $this->removeOutlookRuleBlob = $this->castValueIfNeeded("removeOutlookRuleBlob", $value); + return $this; } /** - * @return \garethp\ews\API\Type\ArrayOfRuleOperationsType + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ArrayOfRuleOperationsType + * @return UpdateInboxRulesRequestType */ - public function getOperations() + public function setOperations(\garethp\ews\API\Type\ArrayOfRuleOperationsType $value) { - return $this->operations; + $this->operations = $this->castValueIfNeeded("operations", $value); + return $this; } } diff --git a/src/API/Message/UpdateInboxRulesResponseType.php b/src/API/Message/UpdateInboxRulesResponseType.php index cb32bb75..c23310ca 100644 --- a/src/API/Message/UpdateInboxRulesResponseType.php +++ b/src/API/Message/UpdateInboxRulesResponseType.php @@ -9,7 +9,6 @@ * XSD Type: UpdateInboxRulesResponseType * * @method UpdateInboxRulesResponseType addRuleOperationErrors(\garethp\ews\API\Type\RuleOperationErrorType $ruleOperationErrors) - * @method UpdateInboxRulesResponseType setRuleOperationErrors(array $ruleOperationErrors) */ class UpdateInboxRulesResponseType extends ResponseMessageType { @@ -26,4 +25,15 @@ public function getRuleOperationErrors() { return $this->ruleOperationErrors; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\RuleOperationErrorType[] + * @return UpdateInboxRulesResponseType + */ + public function setRuleOperationErrors(array $value) + { + $this->ruleOperationErrors = $this->castValueIfNeeded("ruleOperationErrors", $value); + return $this; + } } diff --git a/src/API/Message/UpdateItemResponseMessageType.php b/src/API/Message/UpdateItemResponseMessageType.php index 2ca49f24..11cc3ba7 100644 --- a/src/API/Message/UpdateItemResponseMessageType.php +++ b/src/API/Message/UpdateItemResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: UpdateItemResponseMessageType - * - * @method UpdateItemResponseMessageType setConflictResults(\garethp\ews\API\Type\ConflictResultsType $conflictResults) */ class UpdateItemResponseMessageType extends ItemInfoResponseMessageType { @@ -25,4 +23,15 @@ public function getConflictResults() { return $this->conflictResults; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ConflictResultsType + * @return UpdateItemResponseMessageType + */ + public function setConflictResults(\garethp\ews\API\Type\ConflictResultsType $value) + { + $this->conflictResults = $this->castValueIfNeeded("conflictResults", $value); + return $this; + } } diff --git a/src/API/Message/UpdateItemType.php b/src/API/Message/UpdateItemType.php index dfb73218..e3a5d795 100644 --- a/src/API/Message/UpdateItemType.php +++ b/src/API/Message/UpdateItemType.php @@ -8,12 +8,7 @@ * * XSD Type: UpdateItemType * - * @method UpdateItemType setConflictResolution(string $conflictResolution) - * @method UpdateItemType setMessageDisposition(string $messageDisposition) - * @method UpdateItemType setSendMeetingInvitationsOrCancellations(string $sendMeetingInvitationsOrCancellations) - * @method UpdateItemType setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $savedItemFolderId) * @method UpdateItemType addItemChanges(\garethp\ews\API\Type\ItemChangeType $itemChanges) - * @method UpdateItemType setItemChanges(array $itemChanges) */ class UpdateItemType extends BaseRequestType { @@ -82,4 +77,59 @@ public function getItemChanges() { return $this->itemChanges; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UpdateItemType + */ + public function setConflictResolution($value) + { + $this->conflictResolution = $this->castValueIfNeeded("conflictResolution", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UpdateItemType + */ + public function setMessageDisposition($value) + { + $this->messageDisposition = $this->castValueIfNeeded("messageDisposition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UpdateItemType + */ + public function setSendMeetingInvitationsOrCancellations($value) + { + $this->sendMeetingInvitationsOrCancellations = $this->castValueIfNeeded("sendMeetingInvitationsOrCancellations", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\TargetFolderIdType + * @return UpdateItemType + */ + public function setSavedItemFolderId(\garethp\ews\API\Type\TargetFolderIdType $value) + { + $this->savedItemFolderId = $this->castValueIfNeeded("savedItemFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemChangeType[] + * @return UpdateItemType + */ + public function setItemChanges(array $value) + { + $this->itemChanges = $this->castValueIfNeeded("itemChanges", $value); + return $this; + } } diff --git a/src/API/Message/UpdateUserConfigurationType.php b/src/API/Message/UpdateUserConfigurationType.php index d2976207..3c5f013c 100644 --- a/src/API/Message/UpdateUserConfigurationType.php +++ b/src/API/Message/UpdateUserConfigurationType.php @@ -7,8 +7,6 @@ * * * XSD Type: UpdateUserConfigurationType - * - * @method UpdateUserConfigurationType setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $userConfiguration) */ class UpdateUserConfigurationType extends BaseRequestType { @@ -25,4 +23,15 @@ public function getUserConfiguration() { return $this->userConfiguration; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UserConfigurationType + * @return UpdateUserConfigurationType + */ + public function setUserConfiguration(\garethp\ews\API\Type\UserConfigurationType $value) + { + $this->userConfiguration = $this->castValueIfNeeded("userConfiguration", $value); + return $this; + } } diff --git a/src/API/Message/UploadItemsResponseMessageType.php b/src/API/Message/UploadItemsResponseMessageType.php index 0e16cf55..1de2044b 100644 --- a/src/API/Message/UploadItemsResponseMessageType.php +++ b/src/API/Message/UploadItemsResponseMessageType.php @@ -7,8 +7,6 @@ * * * XSD Type: UploadItemsResponseMessageType - * - * @method UploadItemsResponseMessageType setItemId(\garethp\ews\API\Type\ItemIdType $itemId) */ class UploadItemsResponseMessageType extends ResponseMessageType { @@ -25,4 +23,15 @@ public function getItemId() { return $this->itemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ItemIdType + * @return UploadItemsResponseMessageType + */ + public function setItemId(\garethp\ews\API\Type\ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } } diff --git a/src/API/Message/UploadItemsType.php b/src/API/Message/UploadItemsType.php index 6fdda4f4..c7719f5d 100644 --- a/src/API/Message/UploadItemsType.php +++ b/src/API/Message/UploadItemsType.php @@ -9,7 +9,6 @@ * XSD Type: UploadItemsType * * @method UploadItemsType addItems(\garethp\ews\API\Type\UploadItemType $items) - * @method UploadItemsType setItems(array $items) */ class UploadItemsType extends BaseRequestType { @@ -26,4 +25,15 @@ public function getItems() { return $this->items; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\UploadItemType[] + * @return UploadItemsType + */ + public function setItems(array $value) + { + $this->items = $this->castValueIfNeeded("items", $value); + return $this; + } } diff --git a/src/API/Type/AbsoluteDateTransitionType.php b/src/API/Type/AbsoluteDateTransitionType.php index 333ba1e5..50ed7570 100644 --- a/src/API/Type/AbsoluteDateTransitionType.php +++ b/src/API/Type/AbsoluteDateTransitionType.php @@ -7,8 +7,6 @@ * * * XSD Type: AbsoluteDateTransitionType - * - * @method AbsoluteDateTransitionType setDateTime(\DateTime $dateTime) */ class AbsoluteDateTransitionType extends TransitionType { @@ -29,4 +27,15 @@ public function getDateTime() { return $this->dateTime; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return AbsoluteDateTransitionType + */ + public function setDateTime(\DateTime|string $value) + { + $this->dateTime = $this->castValueIfNeeded("dateTime", $value); + return $this; + } } diff --git a/src/API/Type/AbsoluteMonthlyRecurrencePatternType.php b/src/API/Type/AbsoluteMonthlyRecurrencePatternType.php index 80ef2de0..dabf861e 100644 --- a/src/API/Type/AbsoluteMonthlyRecurrencePatternType.php +++ b/src/API/Type/AbsoluteMonthlyRecurrencePatternType.php @@ -7,8 +7,6 @@ * * * XSD Type: AbsoluteMonthlyRecurrencePatternType - * - * @method AbsoluteMonthlyRecurrencePatternType setDayOfMonth(integer $dayOfMonth) */ class AbsoluteMonthlyRecurrencePatternType extends IntervalRecurrencePatternBaseType { @@ -25,4 +23,15 @@ public function getDayOfMonth() { return $this->dayOfMonth; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return AbsoluteMonthlyRecurrencePatternType + */ + public function setDayOfMonth($value) + { + $this->dayOfMonth = $this->castValueIfNeeded("dayOfMonth", $value); + return $this; + } } diff --git a/src/API/Type/AbsoluteYearlyRecurrencePatternType.php b/src/API/Type/AbsoluteYearlyRecurrencePatternType.php index 6aca86ca..c3671144 100644 --- a/src/API/Type/AbsoluteYearlyRecurrencePatternType.php +++ b/src/API/Type/AbsoluteYearlyRecurrencePatternType.php @@ -7,9 +7,6 @@ * * * XSD Type: AbsoluteYearlyRecurrencePatternType - * - * @method AbsoluteYearlyRecurrencePatternType setDayOfMonth(integer $dayOfMonth) - * @method AbsoluteYearlyRecurrencePatternType setMonth(string $month) */ class AbsoluteYearlyRecurrencePatternType extends RecurrencePatternBaseType { @@ -39,4 +36,26 @@ public function getMonth() { return $this->month; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return AbsoluteYearlyRecurrencePatternType + */ + public function setDayOfMonth($value) + { + $this->dayOfMonth = $this->castValueIfNeeded("dayOfMonth", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AbsoluteYearlyRecurrencePatternType + */ + public function setMonth($value) + { + $this->month = $this->castValueIfNeeded("month", $value); + return $this; + } } diff --git a/src/API/Type/AggregateOnType.php b/src/API/Type/AggregateOnType.php index 521fc64a..cbba2fdb 100644 --- a/src/API/Type/AggregateOnType.php +++ b/src/API/Type/AggregateOnType.php @@ -7,14 +7,10 @@ /** * Class representing AggregateOnType * - * Represents the field of each item to aggregate on and the qualifier to apply to that + * Represents the field of each item to aggregate on and the qualifier to apply to + * that * field in determining which item will represent the group. * XSD Type: AggregateOnType - * - * @method AggregateOnType setAggregate(string $aggregate) - * @method AggregateOnType setFieldURI(PathToUnindexedFieldType $fieldURI) - * @method AggregateOnType setIndexedFieldURI(PathToIndexedFieldType $indexedFieldURI) - * @method AggregateOnType setExtendedFieldURI(PathToExtendedFieldType $extendedFieldURI) */ class AggregateOnType extends Type { @@ -70,4 +66,48 @@ public function getExtendedFieldURI() { return $this->extendedFieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AggregateOnType + */ + public function setAggregate($value) + { + $this->aggregate = $this->castValueIfNeeded("aggregate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToUnindexedFieldType + * @return AggregateOnType + */ + public function setFieldURI(PathToUnindexedFieldType $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToIndexedFieldType + * @return AggregateOnType + */ + public function setIndexedFieldURI(PathToIndexedFieldType $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToExtendedFieldType + * @return AggregateOnType + */ + public function setExtendedFieldURI(PathToExtendedFieldType $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } } diff --git a/src/API/Type/AlternateIdBaseType.php b/src/API/Type/AlternateIdBaseType.php index 224260fe..1d2e34bd 100644 --- a/src/API/Type/AlternateIdBaseType.php +++ b/src/API/Type/AlternateIdBaseType.php @@ -7,10 +7,9 @@ /** * Class representing AlternateIdBaseType * - * Surfaces alternate representations of an item or folder id. No change key is included. + * Surfaces alternate representations of an item or folder id. No change key is + * included. * XSD Type: AlternateIdBaseType - * - * @method AlternateIdBaseType setFormat(string $format) */ class AlternateIdBaseType extends Type { @@ -27,4 +26,15 @@ public function getFormat() { return $this->format; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AlternateIdBaseType + */ + public function setFormat($value) + { + $this->format = $this->castValueIfNeeded("format", $value); + return $this; + } } diff --git a/src/API/Type/AlternateIdType.php b/src/API/Type/AlternateIdType.php index a9ec1c9e..d0f831f8 100644 --- a/src/API/Type/AlternateIdType.php +++ b/src/API/Type/AlternateIdType.php @@ -7,10 +7,6 @@ * * Represents an alternate mailbox folder or item Id. * XSD Type: AlternateIdType - * - * @method AlternateIdType setId(string $id) - * @method AlternateIdType setMailbox(string $mailbox) - * @method AlternateIdType setIsArchive(boolean $isArchive) */ class AlternateIdType extends AlternateIdBaseType { @@ -46,6 +42,36 @@ public function getMailbox() return $this->mailbox; } + /** + * @return boolean + */ + public function getIsArchive() + { + return $this->isArchive; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AlternateIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AlternateIdType + */ + public function setMailbox($value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } + /** * @returns bool */ @@ -55,10 +81,13 @@ public function isArchive() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return AlternateIdType */ - public function getIsArchive() + public function setIsArchive($value) { - return $this->isArchive; + $this->isArchive = $this->castValueIfNeeded("isArchive", $value); + return $this; } } diff --git a/src/API/Type/AlternatePublicFolderIdType.php b/src/API/Type/AlternatePublicFolderIdType.php index 9bf79fea..f1c26149 100644 --- a/src/API/Type/AlternatePublicFolderIdType.php +++ b/src/API/Type/AlternatePublicFolderIdType.php @@ -7,8 +7,6 @@ * * Represents an alternate public folder Id. * XSD Type: AlternatePublicFolderIdType - * - * @method AlternatePublicFolderIdType setFolderId(string $folderId) */ class AlternatePublicFolderIdType extends AlternateIdBaseType { @@ -25,4 +23,15 @@ public function getFolderId() { return $this->folderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AlternatePublicFolderIdType + */ + public function setFolderId($value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } } diff --git a/src/API/Type/AlternatePublicFolderItemIdType.php b/src/API/Type/AlternatePublicFolderItemIdType.php index 12600a33..3654852b 100644 --- a/src/API/Type/AlternatePublicFolderItemIdType.php +++ b/src/API/Type/AlternatePublicFolderItemIdType.php @@ -7,8 +7,6 @@ * * Represents an alternate public folder item Id. * XSD Type: AlternatePublicFolderItemIdType - * - * @method AlternatePublicFolderItemIdType setItemId(string $itemId) */ class AlternatePublicFolderItemIdType extends AlternatePublicFolderIdType { @@ -25,4 +23,15 @@ public function getItemId() { return $this->itemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AlternatePublicFolderItemIdType + */ + public function setItemId($value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } } diff --git a/src/API/Type/AppendToFolderFieldType.php b/src/API/Type/AppendToFolderFieldType.php index 04267b2e..fb968a17 100644 --- a/src/API/Type/AppendToFolderFieldType.php +++ b/src/API/Type/AppendToFolderFieldType.php @@ -7,12 +7,6 @@ * * * XSD Type: AppendToFolderFieldType - * - * @method AppendToFolderFieldType setFolder(FolderType $folder) - * @method AppendToFolderFieldType setCalendarFolder(CalendarFolderType $calendarFolder) - * @method AppendToFolderFieldType setContactsFolder(ContactsFolderType $contactsFolder) - * @method AppendToFolderFieldType setSearchFolder(SearchFolderType $searchFolder) - * @method AppendToFolderFieldType setTasksFolder(TasksFolderType $tasksFolder) */ class AppendToFolderFieldType extends FolderChangeDescriptionType { @@ -81,4 +75,59 @@ public function getTasksFolder() { return $this->tasksFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderType + * @return AppendToFolderFieldType + */ + public function setFolder(FolderType $value) + { + $this->folder = $this->castValueIfNeeded("folder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarFolderType + * @return AppendToFolderFieldType + */ + public function setCalendarFolder(CalendarFolderType $value) + { + $this->calendarFolder = $this->castValueIfNeeded("calendarFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactsFolderType + * @return AppendToFolderFieldType + */ + public function setContactsFolder(ContactsFolderType $value) + { + $this->contactsFolder = $this->castValueIfNeeded("contactsFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchFolderType + * @return AppendToFolderFieldType + */ + public function setSearchFolder(SearchFolderType $value) + { + $this->searchFolder = $this->castValueIfNeeded("searchFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TasksFolderType + * @return AppendToFolderFieldType + */ + public function setTasksFolder(TasksFolderType $value) + { + $this->tasksFolder = $this->castValueIfNeeded("tasksFolder", $value); + return $this; + } } diff --git a/src/API/Type/AppendToItemFieldType.php b/src/API/Type/AppendToItemFieldType.php index 60dc6e6d..5ed22806 100644 --- a/src/API/Type/AppendToItemFieldType.php +++ b/src/API/Type/AppendToItemFieldType.php @@ -7,18 +7,6 @@ * * * XSD Type: AppendToItemFieldType - * - * @method AppendToItemFieldType setItem(ItemType $item) - * @method AppendToItemFieldType setMessage(MessageType $message) - * @method AppendToItemFieldType setCalendarItem(CalendarItemType $calendarItem) - * @method AppendToItemFieldType setContact(ContactItemType $contact) - * @method AppendToItemFieldType setDistributionList(DistributionListType $distributionList) - * @method AppendToItemFieldType setMeetingMessage(MeetingMessageType $meetingMessage) - * @method AppendToItemFieldType setMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method AppendToItemFieldType setMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method AppendToItemFieldType setMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method AppendToItemFieldType setTask(TaskType $task) - * @method AppendToItemFieldType setPostItem(PostItemType $postItem) */ class AppendToItemFieldType extends ItemChangeDescriptionType { @@ -165,4 +153,125 @@ public function getPostItem() { return $this->postItem; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType + * @return AppendToItemFieldType + */ + public function setItem(ItemType $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType + * @return AppendToItemFieldType + */ + public function setMessage(MessageType $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType + * @return AppendToItemFieldType + */ + public function setCalendarItem(CalendarItemType $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType + * @return AppendToItemFieldType + */ + public function setContact(ContactItemType $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistributionListType + * @return AppendToItemFieldType + */ + public function setDistributionList(DistributionListType $value) + { + $this->distributionList = $this->castValueIfNeeded("distributionList", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType + * @return AppendToItemFieldType + */ + public function setMeetingMessage(MeetingMessageType $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType + * @return AppendToItemFieldType + */ + public function setMeetingRequest(MeetingRequestMessageType $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType + * @return AppendToItemFieldType + */ + public function setMeetingResponse(MeetingResponseMessageType $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType + * @return AppendToItemFieldType + */ + public function setMeetingCancellation(MeetingCancellationMessageType $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType + * @return AppendToItemFieldType + */ + public function setTask(TaskType $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType + * @return AppendToItemFieldType + */ + public function setPostItem(PostItemType $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfAttachmentsType.php b/src/API/Type/ArrayOfAttachmentsType.php index 6f980aa9..cd592c12 100644 --- a/src/API/Type/ArrayOfAttachmentsType.php +++ b/src/API/Type/ArrayOfAttachmentsType.php @@ -11,9 +11,7 @@ * XSD Type: ArrayOfAttachmentsType * * @method ArrayOfAttachmentsType addItemAttachment(ItemAttachmentType $itemAttachment) - * @method ArrayOfAttachmentsType setItemAttachment(array $itemAttachment) * @method ArrayOfAttachmentsType addFileAttachment(FileAttachmentType $fileAttachment) - * @method ArrayOfAttachmentsType setFileAttachment(array $fileAttachment) */ class ArrayOfAttachmentsType extends Type { @@ -43,4 +41,26 @@ public function getFileAttachment() { return $this->fileAttachment; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemAttachmentType[] + * @return ArrayOfAttachmentsType + */ + public function setItemAttachment(array $value) + { + $this->itemAttachment = $this->castValueIfNeeded("itemAttachment", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FileAttachmentType[] + * @return ArrayOfAttachmentsType + */ + public function setFileAttachment(array $value) + { + $this->fileAttachment = $this->castValueIfNeeded("fileAttachment", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfAttendeeConflictDataType.php b/src/API/Type/ArrayOfAttendeeConflictDataType.php index 4a188290..685b5fbf 100644 --- a/src/API/Type/ArrayOfAttendeeConflictDataType.php +++ b/src/API/Type/ArrayOfAttendeeConflictDataType.php @@ -11,13 +11,9 @@ * XSD Type: ArrayOfAttendeeConflictData * * @method ArrayOfAttendeeConflictDataType addUnknownAttendeeConflictData(UnknownAttendeeConflictDataType $unknownAttendeeConflictData) - * @method ArrayOfAttendeeConflictDataType setUnknownAttendeeConflictData(array $unknownAttendeeConflictData) * @method ArrayOfAttendeeConflictDataType addIndividualAttendeeConflictData(IndividualAttendeeConflictDataType $individualAttendeeConflictData) - * @method ArrayOfAttendeeConflictDataType setIndividualAttendeeConflictData(array $individualAttendeeConflictData) * @method ArrayOfAttendeeConflictDataType addTooBigGroupAttendeeConflictData(TooBigGroupAttendeeConflictDataType $tooBigGroupAttendeeConflictData) - * @method ArrayOfAttendeeConflictDataType setTooBigGroupAttendeeConflictData(array $tooBigGroupAttendeeConflictData) * @method ArrayOfAttendeeConflictDataType addGroupAttendeeConflictData(GroupAttendeeConflictDataType $groupAttendeeConflictData) - * @method ArrayOfAttendeeConflictDataType setGroupAttendeeConflictData(array $groupAttendeeConflictData) */ class ArrayOfAttendeeConflictDataType extends Type { @@ -73,4 +69,48 @@ public function getGroupAttendeeConflictData() { return $this->groupAttendeeConflictData; } + + /** + * @autogenerated This method is safe to replace + * @param $value UnknownAttendeeConflictDataType[] + * @return ArrayOfAttendeeConflictDataType + */ + public function setUnknownAttendeeConflictData(array $value) + { + $this->unknownAttendeeConflictData = $this->castValueIfNeeded("unknownAttendeeConflictData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndividualAttendeeConflictDataType[] + * @return ArrayOfAttendeeConflictDataType + */ + public function setIndividualAttendeeConflictData(array $value) + { + $this->individualAttendeeConflictData = $this->castValueIfNeeded("individualAttendeeConflictData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TooBigGroupAttendeeConflictDataType[] + * @return ArrayOfAttendeeConflictDataType + */ + public function setTooBigGroupAttendeeConflictData(array $value) + { + $this->tooBigGroupAttendeeConflictData = $this->castValueIfNeeded("tooBigGroupAttendeeConflictData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GroupAttendeeConflictDataType[] + * @return ArrayOfAttendeeConflictDataType + */ + public function setGroupAttendeeConflictData(array $value) + { + $this->groupAttendeeConflictData = $this->castValueIfNeeded("groupAttendeeConflictData", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfDLExpansionType.php b/src/API/Type/ArrayOfDLExpansionType.php index 784df455..e3832cbe 100644 --- a/src/API/Type/ArrayOfDLExpansionType.php +++ b/src/API/Type/ArrayOfDLExpansionType.php @@ -10,13 +10,7 @@ * * XSD Type: ArrayOfDLExpansionType * - * @method ArrayOfDLExpansionType setIndexedPagingOffset(integer $indexedPagingOffset) - * @method ArrayOfDLExpansionType setNumeratorOffset(integer $numeratorOffset) - * @method ArrayOfDLExpansionType setAbsoluteDenominator(integer $absoluteDenominator) - * @method ArrayOfDLExpansionType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method ArrayOfDLExpansionType setTotalItemsInView(integer $totalItemsInView) * @method ArrayOfDLExpansionType addMailbox(EmailAddressType $mailbox) - * @method ArrayOfDLExpansionType setMailbox(array $mailbox) */ class ArrayOfDLExpansionType extends Type { @@ -75,14 +69,6 @@ public function getAbsoluteDenominator() return $this->absoluteDenominator; } - /** - * @returns bool - */ - public function isIncludesLastItemInRange() - { - return ((bool) $this->includesLastItemInRange); - } - /** * @return boolean */ @@ -106,4 +92,78 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfDLExpansionType + */ + public function setIndexedPagingOffset($value) + { + $this->indexedPagingOffset = $this->castValueIfNeeded("indexedPagingOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfDLExpansionType + */ + public function setNumeratorOffset($value) + { + $this->numeratorOffset = $this->castValueIfNeeded("numeratorOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfDLExpansionType + */ + public function setAbsoluteDenominator($value) + { + $this->absoluteDenominator = $this->castValueIfNeeded("absoluteDenominator", $value); + return $this; + } + + /** + * @returns bool + */ + public function isIncludesLastItemInRange() + { + return ((bool) $this->includesLastItemInRange); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ArrayOfDLExpansionType + */ + public function setIncludesLastItemInRange($value) + { + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfDLExpansionType + */ + public function setTotalItemsInView($value) + { + $this->totalItemsInView = $this->castValueIfNeeded("totalItemsInView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return ArrayOfDLExpansionType + */ + public function setMailbox(array $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfFoldersType.php b/src/API/Type/ArrayOfFoldersType.php index b40cb1d9..187cce2c 100644 --- a/src/API/Type/ArrayOfFoldersType.php +++ b/src/API/Type/ArrayOfFoldersType.php @@ -14,15 +14,10 @@ * XSD Type: ArrayOfFoldersType * * @method ArrayOfFoldersType addFolder(FolderType $folder) - * @method ArrayOfFoldersType setFolder(array $folder) * @method ArrayOfFoldersType addCalendarFolder(CalendarFolderType $calendarFolder) - * @method ArrayOfFoldersType setCalendarFolder(array $calendarFolder) * @method ArrayOfFoldersType addContactsFolder(ContactsFolderType $contactsFolder) - * @method ArrayOfFoldersType setContactsFolder(array $contactsFolder) * @method ArrayOfFoldersType addSearchFolder(SearchFolderType $searchFolder) - * @method ArrayOfFoldersType setSearchFolder(array $searchFolder) * @method ArrayOfFoldersType addTasksFolder(TasksFolderType $tasksFolder) - * @method ArrayOfFoldersType setTasksFolder(array $tasksFolder) */ class ArrayOfFoldersType extends Type implements Countable, ArrayAccess, IteratorAggregate { @@ -175,4 +170,59 @@ public function getTasksFolder() { return $this->tasksFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderType[] + * @return ArrayOfFoldersType + */ + public function setFolder(array $value) + { + $this->folder = $this->castValueIfNeeded("folder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarFolderType[] + * @return ArrayOfFoldersType + */ + public function setCalendarFolder(array $value) + { + $this->calendarFolder = $this->castValueIfNeeded("calendarFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactsFolderType[] + * @return ArrayOfFoldersType + */ + public function setContactsFolder(array $value) + { + $this->contactsFolder = $this->castValueIfNeeded("contactsFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchFolderType[] + * @return ArrayOfFoldersType + */ + public function setSearchFolder(array $value) + { + $this->searchFolder = $this->castValueIfNeeded("searchFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TasksFolderType[] + * @return ArrayOfFoldersType + */ + public function setTasksFolder(array $value) + { + $this->tasksFolder = $this->castValueIfNeeded("tasksFolder", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfRealItemsType.php b/src/API/Type/ArrayOfRealItemsType.php index a2f9999c..7ab9b7f4 100644 --- a/src/API/Type/ArrayOfRealItemsType.php +++ b/src/API/Type/ArrayOfRealItemsType.php @@ -14,27 +14,16 @@ * XSD Type: ArrayOfRealItemsType * * @method ArrayOfRealItemsType addItem(ItemType $item) - * @method ArrayOfRealItemsType setItem(array $item) * @method ArrayOfRealItemsType addMessage(MessageType $message) - * @method ArrayOfRealItemsType setMessage(array $message) * @method ArrayOfRealItemsType addCalendarItem(CalendarItemType $calendarItem) - * @method ArrayOfRealItemsType setCalendarItem(array $calendarItem) * @method ArrayOfRealItemsType addContact(ContactItemType $contact) - * @method ArrayOfRealItemsType setContact(array $contact) * @method ArrayOfRealItemsType addDistributionList(DistributionListType $distributionList) - * @method ArrayOfRealItemsType setDistributionList(array $distributionList) * @method ArrayOfRealItemsType addMeetingMessage(MeetingMessageType $meetingMessage) - * @method ArrayOfRealItemsType setMeetingMessage(array $meetingMessage) * @method ArrayOfRealItemsType addMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method ArrayOfRealItemsType setMeetingRequest(array $meetingRequest) * @method ArrayOfRealItemsType addMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method ArrayOfRealItemsType setMeetingResponse(array $meetingResponse) * @method ArrayOfRealItemsType addMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method ArrayOfRealItemsType setMeetingCancellation(array $meetingCancellation) * @method ArrayOfRealItemsType addTask(TaskType $task) - * @method ArrayOfRealItemsType setTask(array $task) * @method ArrayOfRealItemsType addPostItem(PostItemType $postItem) - * @method ArrayOfRealItemsType setPostItem(array $postItem) */ class ArrayOfRealItemsType extends Type implements Countable, ArrayAccess, IteratorAggregate { @@ -246,4 +235,125 @@ public function getPostItem() { return $this->postItem; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType[] + * @return ArrayOfRealItemsType + */ + public function setItem(array $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType[] + * @return ArrayOfRealItemsType + */ + public function setMessage(array $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType[] + * @return ArrayOfRealItemsType + */ + public function setCalendarItem(array $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType[] + * @return ArrayOfRealItemsType + */ + public function setContact(array $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistributionListType[] + * @return ArrayOfRealItemsType + */ + public function setDistributionList(array $value) + { + $this->distributionList = $this->castValueIfNeeded("distributionList", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType[] + * @return ArrayOfRealItemsType + */ + public function setMeetingMessage(array $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType[] + * @return ArrayOfRealItemsType + */ + public function setMeetingRequest(array $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType[] + * @return ArrayOfRealItemsType + */ + public function setMeetingResponse(array $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType[] + * @return ArrayOfRealItemsType + */ + public function setMeetingCancellation(array $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType[] + * @return ArrayOfRealItemsType + */ + public function setTask(array $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType[] + * @return ArrayOfRealItemsType + */ + public function setPostItem(array $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfResolutionType.php b/src/API/Type/ArrayOfResolutionType.php index 0404eb64..2b86ba99 100644 --- a/src/API/Type/ArrayOfResolutionType.php +++ b/src/API/Type/ArrayOfResolutionType.php @@ -10,13 +10,7 @@ * * XSD Type: ArrayOfResolutionType * - * @method ArrayOfResolutionType setIndexedPagingOffset(integer $indexedPagingOffset) - * @method ArrayOfResolutionType setNumeratorOffset(integer $numeratorOffset) - * @method ArrayOfResolutionType setAbsoluteDenominator(integer $absoluteDenominator) - * @method ArrayOfResolutionType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method ArrayOfResolutionType setTotalItemsInView(integer $totalItemsInView) * @method ArrayOfResolutionType addResolution(ResolutionType $resolution) - * @method ArrayOfResolutionType setResolution(array $resolution) */ class ArrayOfResolutionType extends Type { @@ -75,14 +69,6 @@ public function getAbsoluteDenominator() return $this->absoluteDenominator; } - /** - * @returns bool - */ - public function isIncludesLastItemInRange() - { - return ((bool) $this->includesLastItemInRange); - } - /** * @return boolean */ @@ -106,4 +92,78 @@ public function getResolution() { return $this->resolution; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfResolutionType + */ + public function setIndexedPagingOffset($value) + { + $this->indexedPagingOffset = $this->castValueIfNeeded("indexedPagingOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfResolutionType + */ + public function setNumeratorOffset($value) + { + $this->numeratorOffset = $this->castValueIfNeeded("numeratorOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfResolutionType + */ + public function setAbsoluteDenominator($value) + { + $this->absoluteDenominator = $this->castValueIfNeeded("absoluteDenominator", $value); + return $this; + } + + /** + * @returns bool + */ + public function isIncludesLastItemInRange() + { + return ((bool) $this->includesLastItemInRange); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ArrayOfResolutionType + */ + public function setIncludesLastItemInRange($value) + { + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ArrayOfResolutionType + */ + public function setTotalItemsInView($value) + { + $this->totalItemsInView = $this->castValueIfNeeded("totalItemsInView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ResolutionType[] + * @return ArrayOfResolutionType + */ + public function setResolution(array $value) + { + $this->resolution = $this->castValueIfNeeded("resolution", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfRuleOperationsType.php b/src/API/Type/ArrayOfRuleOperationsType.php index 7495cfc6..a57d5c94 100644 --- a/src/API/Type/ArrayOfRuleOperationsType.php +++ b/src/API/Type/ArrayOfRuleOperationsType.php @@ -11,11 +11,8 @@ * XSD Type: ArrayOfRuleOperationsType * * @method ArrayOfRuleOperationsType addCreateRuleOperation(CreateRuleOperationType $createRuleOperation) - * @method ArrayOfRuleOperationsType setCreateRuleOperation(array $createRuleOperation) * @method ArrayOfRuleOperationsType addSetRuleOperation(SetRuleOperationType $setRuleOperation) - * @method ArrayOfRuleOperationsType setSetRuleOperation(array $setRuleOperation) * @method ArrayOfRuleOperationsType addDeleteRuleOperation(DeleteRuleOperationType $deleteRuleOperation) - * @method ArrayOfRuleOperationsType setDeleteRuleOperation(array $deleteRuleOperation) */ class ArrayOfRuleOperationsType extends Type { @@ -58,4 +55,37 @@ public function getDeleteRuleOperation() { return $this->deleteRuleOperation; } + + /** + * @autogenerated This method is safe to replace + * @param $value CreateRuleOperationType[] + * @return ArrayOfRuleOperationsType + */ + public function setCreateRuleOperation(array $value) + { + $this->createRuleOperation = $this->castValueIfNeeded("createRuleOperation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SetRuleOperationType[] + * @return ArrayOfRuleOperationsType + */ + public function setSetRuleOperation(array $value) + { + $this->setRuleOperation = $this->castValueIfNeeded("setRuleOperation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeleteRuleOperationType[] + * @return ArrayOfRuleOperationsType + */ + public function setDeleteRuleOperation(array $value) + { + $this->deleteRuleOperation = $this->castValueIfNeeded("deleteRuleOperation", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfTrackingPropertiesType.php b/src/API/Type/ArrayOfTrackingPropertiesType.php index a1948999..3babaa5d 100644 --- a/src/API/Type/ArrayOfTrackingPropertiesType.php +++ b/src/API/Type/ArrayOfTrackingPropertiesType.php @@ -11,7 +11,6 @@ * XSD Type: ArrayOfTrackingPropertiesType * * @method ArrayOfTrackingPropertiesType addTrackingPropertyType(TrackingPropertyType $trackingPropertyType) - * @method ArrayOfTrackingPropertiesType setTrackingPropertyType(array $trackingPropertyType) */ class ArrayOfTrackingPropertiesType extends Type { @@ -28,4 +27,15 @@ public function getTrackingPropertyType() { return $this->trackingPropertyType; } + + /** + * @autogenerated This method is safe to replace + * @param $value TrackingPropertyType[] + * @return ArrayOfTrackingPropertiesType + */ + public function setTrackingPropertyType(array $value) + { + $this->trackingPropertyType = $this->castValueIfNeeded("trackingPropertyType", $value); + return $this; + } } diff --git a/src/API/Type/ArrayOfTransitionsType.php b/src/API/Type/ArrayOfTransitionsType.php index 3b9ff12b..852e7e3b 100644 --- a/src/API/Type/ArrayOfTransitionsType.php +++ b/src/API/Type/ArrayOfTransitionsType.php @@ -10,15 +10,10 @@ * * XSD Type: ArrayOfTransitionsType * - * @method ArrayOfTransitionsType setId(string $id) * @method ArrayOfTransitionsType addAbsoluteDateTransition(AbsoluteDateTransition $absoluteDateTransition) - * @method ArrayOfTransitionsType setAbsoluteDateTransition(array $absoluteDateTransition) * @method ArrayOfTransitionsType addRecurringDayTransition(RecurringDayTransition $recurringDayTransition) - * @method ArrayOfTransitionsType setRecurringDayTransition(array $recurringDayTransition) * @method ArrayOfTransitionsType addRecurringDateTransition(RecurringDateTransition $recurringDateTransition) - * @method ArrayOfTransitionsType setRecurringDateTransition(array $recurringDateTransition) * @method ArrayOfTransitionsType addTransition(Transition $transition) - * @method ArrayOfTransitionsType setTransition(array $transition) */ class ArrayOfTransitionsType extends Type { @@ -87,4 +82,59 @@ public function getTransition() { return $this->transition; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ArrayOfTransitionsType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AbsoluteDateTransition[] + * @return ArrayOfTransitionsType + */ + public function setAbsoluteDateTransition(array $value) + { + $this->absoluteDateTransition = $this->castValueIfNeeded("absoluteDateTransition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurringDayTransition[] + * @return ArrayOfTransitionsType + */ + public function setRecurringDayTransition(array $value) + { + $this->recurringDayTransition = $this->castValueIfNeeded("recurringDayTransition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurringDateTransition[] + * @return ArrayOfTransitionsType + */ + public function setRecurringDateTransition(array $value) + { + $this->recurringDateTransition = $this->castValueIfNeeded("recurringDateTransition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Transition[] + * @return ArrayOfTransitionsType + */ + public function setTransition(array $value) + { + $this->transition = $this->castValueIfNeeded("transition", $value); + return $this; + } } diff --git a/src/API/Type/AttachmentIdType.php b/src/API/Type/AttachmentIdType.php index e7ead193..940d5f1e 100644 --- a/src/API/Type/AttachmentIdType.php +++ b/src/API/Type/AttachmentIdType.php @@ -7,9 +7,6 @@ * * * XSD Type: AttachmentIdType - * - * @method AttachmentIdType setRootItemId(string $rootItemId) - * @method AttachmentIdType setRootItemChangeKey(string $rootItemChangeKey) */ class AttachmentIdType extends RequestAttachmentIdType { @@ -39,4 +36,26 @@ public function getRootItemChangeKey() { return $this->rootItemChangeKey; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentIdType + */ + public function setRootItemId($value) + { + $this->rootItemId = $this->castValueIfNeeded("rootItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentIdType + */ + public function setRootItemChangeKey($value) + { + $this->rootItemChangeKey = $this->castValueIfNeeded("rootItemChangeKey", $value); + return $this; + } } diff --git a/src/API/Type/AttachmentResponseShapeType.php b/src/API/Type/AttachmentResponseShapeType.php index a32d26f3..810487e7 100644 --- a/src/API/Type/AttachmentResponseShapeType.php +++ b/src/API/Type/AttachmentResponseShapeType.php @@ -9,11 +9,6 @@ * * * XSD Type: AttachmentResponseShapeType - * - * @method AttachmentResponseShapeType setIncludeMimeContent(boolean $includeMimeContent) - * @method AttachmentResponseShapeType setBodyType(string $bodyType) - * @method AttachmentResponseShapeType setFilterHtmlContent(boolean $filterHtmlContent) - * @method AttachmentResponseShapeType setAdditionalProperties(NonEmptyArrayOfPathsToElementType $additionalProperties) */ class AttachmentResponseShapeType extends Type { @@ -38,6 +33,38 @@ class AttachmentResponseShapeType extends Type */ protected $additionalProperties = null; + /** + * @return boolean + */ + public function getIncludeMimeContent() + { + return $this->includeMimeContent; + } + + /** + * @return string + */ + public function getBodyType() + { + return $this->bodyType; + } + + /** + * @return boolean + */ + public function getFilterHtmlContent() + { + return $this->filterHtmlContent; + } + + /** + * @return NonEmptyArrayOfPathsToElementType + */ + public function getAdditionalProperties() + { + return $this->additionalProperties; + } + /** * @returns bool */ @@ -47,19 +74,25 @@ public function isIncludeMimeContent() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return AttachmentResponseShapeType */ - public function getIncludeMimeContent() + public function setIncludeMimeContent($value) { - return $this->includeMimeContent; + $this->includeMimeContent = $this->castValueIfNeeded("includeMimeContent", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentResponseShapeType */ - public function getBodyType() + public function setBodyType($value) { - return $this->bodyType; + $this->bodyType = $this->castValueIfNeeded("bodyType", $value); + return $this; } /** @@ -71,18 +104,24 @@ public function isFilterHtmlContent() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return AttachmentResponseShapeType */ - public function getFilterHtmlContent() + public function setFilterHtmlContent($value) { - return $this->filterHtmlContent; + $this->filterHtmlContent = $this->castValueIfNeeded("filterHtmlContent", $value); + return $this; } /** - * @return NonEmptyArrayOfPathsToElementType + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfPathsToElementType + * @return AttachmentResponseShapeType */ - public function getAdditionalProperties() + public function setAdditionalProperties(NonEmptyArrayOfPathsToElementType $value) { - return $this->additionalProperties; + $this->additionalProperties = $this->castValueIfNeeded("additionalProperties", $value); + return $this; } } diff --git a/src/API/Type/AttachmentType.php b/src/API/Type/AttachmentType.php index c45c615a..a9700b4c 100644 --- a/src/API/Type/AttachmentType.php +++ b/src/API/Type/AttachmentType.php @@ -9,15 +9,6 @@ * * * XSD Type: AttachmentType - * - * @method AttachmentType setAttachmentId(AttachmentIdType $attachmentId) - * @method AttachmentType setName(string $name) - * @method AttachmentType setContentType(string $contentType) - * @method AttachmentType setContentId(string $contentId) - * @method AttachmentType setContentLocation(string $contentLocation) - * @method AttachmentType setSize(integer $size) - * @method AttachmentType setLastModifiedTime(\DateTime $lastModifiedTime) - * @method AttachmentType setIsInline(boolean $isInline) */ class AttachmentType extends Type { @@ -122,6 +113,91 @@ public function getLastModifiedTime() return $this->lastModifiedTime; } + /** + * @return boolean + */ + public function getIsInline() + { + return $this->isInline; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttachmentIdType + * @return AttachmentType + */ + public function setAttachmentId(AttachmentIdType $value) + { + $this->attachmentId = $this->castValueIfNeeded("attachmentId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentType + */ + public function setContentType($value) + { + $this->contentType = $this->castValueIfNeeded("contentType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentType + */ + public function setContentId($value) + { + $this->contentId = $this->castValueIfNeeded("contentId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttachmentType + */ + public function setContentLocation($value) + { + $this->contentLocation = $this->castValueIfNeeded("contentLocation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return AttachmentType + */ + public function setSize($value) + { + $this->size = $this->castValueIfNeeded("size", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return AttachmentType + */ + public function setLastModifiedTime(\DateTime|string $value) + { + $this->lastModifiedTime = $this->castValueIfNeeded("lastModifiedTime", $value); + return $this; + } + /** * @returns bool */ @@ -131,10 +207,13 @@ public function isInline() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return AttachmentType */ - public function getIsInline() + public function setIsInline($value) { - return $this->isInline; + $this->isInline = $this->castValueIfNeeded("isInline", $value); + return $this; } } diff --git a/src/API/Type/AttendeeType.php b/src/API/Type/AttendeeType.php index 67051e5d..da0689f6 100644 --- a/src/API/Type/AttendeeType.php +++ b/src/API/Type/AttendeeType.php @@ -9,10 +9,6 @@ * * * XSD Type: AttendeeType - * - * @method AttendeeType setMailbox(EmailAddressType $mailbox) - * @method AttendeeType setResponseType(string $responseType) - * @method AttendeeType setLastResponseTime(\DateTime $lastResponseTime) */ class AttendeeType extends Type { @@ -59,4 +55,37 @@ public function getLastResponseTime() { return $this->lastResponseTime; } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return AttendeeType + */ + public function setMailbox(EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return AttendeeType + */ + public function setResponseType($value) + { + $this->responseType = $this->castValueIfNeeded("responseType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return AttendeeType + */ + public function setLastResponseTime(\DateTime|string $value) + { + $this->lastResponseTime = $this->castValueIfNeeded("lastResponseTime", $value); + return $this; + } } diff --git a/src/API/Type/BaseFolderType.php b/src/API/Type/BaseFolderType.php index 3de5a374..f9f6a837 100644 --- a/src/API/Type/BaseFolderType.php +++ b/src/API/Type/BaseFolderType.php @@ -10,16 +10,7 @@ * * XSD Type: BaseFolderType * - * @method BaseFolderType setFolderId(FolderIdType $folderId) - * @method BaseFolderType setParentFolderId(FolderIdType $parentFolderId) - * @method BaseFolderType setFolderClass(string $folderClass) - * @method BaseFolderType setDisplayName(string $displayName) - * @method BaseFolderType setTotalCount(integer $totalCount) - * @method BaseFolderType setChildFolderCount(integer $childFolderCount) * @method BaseFolderType addExtendedProperty(ExtendedPropertyType $extendedProperty) - * @method BaseFolderType setExtendedProperty(array $extendedProperty) - * @method BaseFolderType setManagedFolderInformation(ManagedFolderInformationType $managedFolderInformation) - * @method BaseFolderType setEffectiveRights(EffectiveRightsType $effectiveRights) */ class BaseFolderType extends Type { @@ -140,4 +131,103 @@ public function getEffectiveRights() { return $this->effectiveRights; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return BaseFolderType + */ + public function setFolderId(FolderIdType $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return BaseFolderType + */ + public function setParentFolderId(FolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BaseFolderType + */ + public function setFolderClass($value) + { + $this->folderClass = $this->castValueIfNeeded("folderClass", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BaseFolderType + */ + public function setDisplayName($value) + { + $this->displayName = $this->castValueIfNeeded("displayName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return BaseFolderType + */ + public function setTotalCount($value) + { + $this->totalCount = $this->castValueIfNeeded("totalCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return BaseFolderType + */ + public function setChildFolderCount($value) + { + $this->childFolderCount = $this->castValueIfNeeded("childFolderCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedPropertyType[] + * @return BaseFolderType + */ + public function setExtendedProperty(array $value) + { + $this->extendedProperty = $this->castValueIfNeeded("extendedProperty", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ManagedFolderInformationType + * @return BaseFolderType + */ + public function setManagedFolderInformation(ManagedFolderInformationType $value) + { + $this->managedFolderInformation = $this->castValueIfNeeded("managedFolderInformation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EffectiveRightsType + * @return BaseFolderType + */ + public function setEffectiveRights(EffectiveRightsType $value) + { + $this->effectiveRights = $this->castValueIfNeeded("effectiveRights", $value); + return $this; + } } diff --git a/src/API/Type/BaseGroupByType.php b/src/API/Type/BaseGroupByType.php index 73b0085e..a9f4ca2f 100644 --- a/src/API/Type/BaseGroupByType.php +++ b/src/API/Type/BaseGroupByType.php @@ -9,8 +9,6 @@ * * * XSD Type: BaseGroupByType - * - * @method BaseGroupByType setOrder(string $order) */ class BaseGroupByType extends Type { @@ -27,4 +25,15 @@ public function getOrder() { return $this->order; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BaseGroupByType + */ + public function setOrder($value) + { + $this->order = $this->castValueIfNeeded("order", $value); + return $this; + } } diff --git a/src/API/Type/BaseNotificationEventType.php b/src/API/Type/BaseNotificationEventType.php index 9beabf18..ebd9f1d2 100644 --- a/src/API/Type/BaseNotificationEventType.php +++ b/src/API/Type/BaseNotificationEventType.php @@ -9,8 +9,6 @@ * * * XSD Type: BaseNotificationEventType - * - * @method BaseNotificationEventType setWatermark(string $watermark) */ class BaseNotificationEventType extends Type { @@ -27,4 +25,15 @@ public function getWatermark() { return $this->watermark; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BaseNotificationEventType + */ + public function setWatermark($value) + { + $this->watermark = $this->castValueIfNeeded("watermark", $value); + return $this; + } } diff --git a/src/API/Type/BaseObjectChangedEventType.php b/src/API/Type/BaseObjectChangedEventType.php index 313267bb..2ab2b79c 100644 --- a/src/API/Type/BaseObjectChangedEventType.php +++ b/src/API/Type/BaseObjectChangedEventType.php @@ -7,11 +7,6 @@ * * * XSD Type: BaseObjectChangedEventType - * - * @method BaseObjectChangedEventType setTimeStamp(\DateTime $timeStamp) - * @method BaseObjectChangedEventType setFolderId(FolderIdType $folderId) - * @method BaseObjectChangedEventType setItemId(ItemIdType $itemId) - * @method BaseObjectChangedEventType setParentFolderId(FolderIdType $parentFolderId) */ class BaseObjectChangedEventType extends BaseNotificationEventType { @@ -71,4 +66,48 @@ public function getParentFolderId() { return $this->parentFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return BaseObjectChangedEventType + */ + public function setTimeStamp(\DateTime|string $value) + { + $this->timeStamp = $this->castValueIfNeeded("timeStamp", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return BaseObjectChangedEventType + */ + public function setFolderId(FolderIdType $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return BaseObjectChangedEventType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return BaseObjectChangedEventType + */ + public function setParentFolderId(FolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } } diff --git a/src/API/Type/BasePagingType.php b/src/API/Type/BasePagingType.php index a4821bf8..fe2bd865 100644 --- a/src/API/Type/BasePagingType.php +++ b/src/API/Type/BasePagingType.php @@ -9,8 +9,6 @@ * * * XSD Type: BasePagingType - * - * @method BasePagingType setMaxEntriesReturned(integer $maxEntriesReturned) */ class BasePagingType extends Type { @@ -27,4 +25,15 @@ public function getMaxEntriesReturned() { return $this->maxEntriesReturned; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return BasePagingType + */ + public function setMaxEntriesReturned($value) + { + $this->maxEntriesReturned = $this->castValueIfNeeded("maxEntriesReturned", $value); + return $this; + } } diff --git a/src/API/Type/BasePermissionType.php b/src/API/Type/BasePermissionType.php index 83a6cd6f..25f60880 100644 --- a/src/API/Type/BasePermissionType.php +++ b/src/API/Type/BasePermissionType.php @@ -9,15 +9,6 @@ * * A permission on a folder * XSD Type: BasePermissionType - * - * @method BasePermissionType setUserId(UserIdType $userId) - * @method BasePermissionType setCanCreateItems(boolean $canCreateItems) - * @method BasePermissionType setCanCreateSubFolders(boolean $canCreateSubFolders) - * @method BasePermissionType setIsFolderOwner(boolean $isFolderOwner) - * @method BasePermissionType setIsFolderVisible(boolean $isFolderVisible) - * @method BasePermissionType setIsFolderContact(boolean $isFolderContact) - * @method BasePermissionType setEditItems(string $editItems) - * @method BasePermissionType setDeleteItems(string $deleteItems) */ class BasePermissionType extends Type { @@ -70,6 +61,73 @@ public function getUserId() return $this->userId; } + /** + * @return boolean + */ + public function getCanCreateItems() + { + return $this->canCreateItems; + } + + /** + * @return boolean + */ + public function getCanCreateSubFolders() + { + return $this->canCreateSubFolders; + } + + /** + * @return boolean + */ + public function getIsFolderOwner() + { + return $this->isFolderOwner; + } + + /** + * @return boolean + */ + public function getIsFolderVisible() + { + return $this->isFolderVisible; + } + + /** + * @return boolean + */ + public function getIsFolderContact() + { + return $this->isFolderContact; + } + + /** + * @return string + */ + public function getEditItems() + { + return $this->editItems; + } + + /** + * @return string + */ + public function getDeleteItems() + { + return $this->deleteItems; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UserIdType + * @return BasePermissionType + */ + public function setUserId(UserIdType $value) + { + $this->userId = $this->castValueIfNeeded("userId", $value); + return $this; + } + /** * @returns bool */ @@ -79,11 +137,14 @@ public function isCanCreateItems() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BasePermissionType */ - public function getCanCreateItems() + public function setCanCreateItems($value) { - return $this->canCreateItems; + $this->canCreateItems = $this->castValueIfNeeded("canCreateItems", $value); + return $this; } /** @@ -95,11 +156,14 @@ public function isCanCreateSubFolders() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BasePermissionType */ - public function getCanCreateSubFolders() + public function setCanCreateSubFolders($value) { - return $this->canCreateSubFolders; + $this->canCreateSubFolders = $this->castValueIfNeeded("canCreateSubFolders", $value); + return $this; } /** @@ -111,11 +175,14 @@ public function isFolderOwner() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BasePermissionType */ - public function getIsFolderOwner() + public function setIsFolderOwner($value) { - return $this->isFolderOwner; + $this->isFolderOwner = $this->castValueIfNeeded("isFolderOwner", $value); + return $this; } /** @@ -127,11 +194,14 @@ public function isFolderVisible() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BasePermissionType */ - public function getIsFolderVisible() + public function setIsFolderVisible($value) { - return $this->isFolderVisible; + $this->isFolderVisible = $this->castValueIfNeeded("isFolderVisible", $value); + return $this; } /** @@ -143,26 +213,35 @@ public function isFolderContact() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return BasePermissionType */ - public function getIsFolderContact() + public function setIsFolderContact($value) { - return $this->isFolderContact; + $this->isFolderContact = $this->castValueIfNeeded("isFolderContact", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return BasePermissionType */ - public function getEditItems() + public function setEditItems($value) { - return $this->editItems; + $this->editItems = $this->castValueIfNeeded("editItems", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return BasePermissionType */ - public function getDeleteItems() + public function setDeleteItems($value) { - return $this->deleteItems; + $this->deleteItems = $this->castValueIfNeeded("deleteItems", $value); + return $this; } } diff --git a/src/API/Type/BaseSubscriptionRequestType.php b/src/API/Type/BaseSubscriptionRequestType.php index 152d0034..f0ed932e 100644 --- a/src/API/Type/BaseSubscriptionRequestType.php +++ b/src/API/Type/BaseSubscriptionRequestType.php @@ -10,11 +10,7 @@ * * XSD Type: BaseSubscriptionRequestType * - * @method BaseSubscriptionRequestType setSubscribeToAllFolders(boolean $subscribeToAllFolders) - * @method BaseSubscriptionRequestType setFolderIds(NonEmptyArrayOfBaseFolderIdsType $folderIds) * @method BaseSubscriptionRequestType addEventTypes(string $eventTypes) - * @method BaseSubscriptionRequestType setEventTypes(array $eventTypes) - * @method BaseSubscriptionRequestType setWatermark(string $watermark) */ class BaseSubscriptionRequestType extends Type { @@ -39,14 +35,6 @@ class BaseSubscriptionRequestType extends Type */ protected $watermark = null; - /** - * @returns bool - */ - public function isSubscribeToAllFolders() - { - return ((bool) $this->subscribeToAllFolders); - } - /** * @return boolean */ @@ -78,4 +66,56 @@ public function getWatermark() { return $this->watermark; } + + /** + * @returns bool + */ + public function isSubscribeToAllFolders() + { + return ((bool) $this->subscribeToAllFolders); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return BaseSubscriptionRequestType + */ + public function setSubscribeToAllFolders($value) + { + $this->subscribeToAllFolders = $this->castValueIfNeeded("subscribeToAllFolders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfBaseFolderIdsType + * @return BaseSubscriptionRequestType + */ + public function setFolderIds(NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return BaseSubscriptionRequestType + */ + public function setEventTypes(array $value) + { + $this->eventTypes = $this->castValueIfNeeded("eventTypes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BaseSubscriptionRequestType + */ + public function setWatermark($value) + { + $this->watermark = $this->castValueIfNeeded("watermark", $value); + return $this; + } } diff --git a/src/API/Type/BodyType.php b/src/API/Type/BodyType.php index 2b397d96..2ee17f9b 100644 --- a/src/API/Type/BodyType.php +++ b/src/API/Type/BodyType.php @@ -9,8 +9,6 @@ * * * XSD Type: BodyType - * - * @method BodyType setBodyType(string $bodyType) */ class BodyType extends Type { @@ -33,4 +31,15 @@ public function getBodyType() { return $this->bodyType; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return BodyType + */ + public function setBodyType($value) + { + $this->bodyType = $this->castValueIfNeeded("bodyType", $value); + return $this; + } } diff --git a/src/API/Type/CalendarEventDetailsType.php b/src/API/Type/CalendarEventDetailsType.php index a79e8953..59fc841a 100644 --- a/src/API/Type/CalendarEventDetailsType.php +++ b/src/API/Type/CalendarEventDetailsType.php @@ -9,15 +9,6 @@ * * * XSD Type: CalendarEventDetails - * - * @method CalendarEventDetailsType setID(string $iD) - * @method CalendarEventDetailsType setSubject(string $subject) - * @method CalendarEventDetailsType setLocation(string $location) - * @method CalendarEventDetailsType setIsMeeting(boolean $isMeeting) - * @method CalendarEventDetailsType setIsRecurring(boolean $isRecurring) - * @method CalendarEventDetailsType setIsException(boolean $isException) - * @method CalendarEventDetailsType setIsReminderSet(boolean $isReminderSet) - * @method CalendarEventDetailsType setIsPrivate(boolean $isPrivate) */ class CalendarEventDetailsType extends Type { @@ -86,6 +77,79 @@ public function getLocation() return $this->location; } + /** + * @return boolean + */ + public function getIsMeeting() + { + return $this->isMeeting; + } + + /** + * @return boolean + */ + public function getIsRecurring() + { + return $this->isRecurring; + } + + /** + * @return boolean + */ + public function getIsException() + { + return $this->isException; + } + + /** + * @return boolean + */ + public function getIsReminderSet() + { + return $this->isReminderSet; + } + + /** + * @return boolean + */ + public function getIsPrivate() + { + return $this->isPrivate; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarEventDetailsType + */ + public function setID($value) + { + $this->iD = $this->castValueIfNeeded("iD", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarEventDetailsType + */ + public function setSubject($value) + { + $this->subject = $this->castValueIfNeeded("subject", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarEventDetailsType + */ + public function setLocation($value) + { + $this->location = $this->castValueIfNeeded("location", $value); + return $this; + } + /** * @returns bool */ @@ -95,11 +159,14 @@ public function isMeeting() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarEventDetailsType */ - public function getIsMeeting() + public function setIsMeeting($value) { - return $this->isMeeting; + $this->isMeeting = $this->castValueIfNeeded("isMeeting", $value); + return $this; } /** @@ -111,11 +178,14 @@ public function isRecurring() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarEventDetailsType */ - public function getIsRecurring() + public function setIsRecurring($value) { - return $this->isRecurring; + $this->isRecurring = $this->castValueIfNeeded("isRecurring", $value); + return $this; } /** @@ -127,11 +197,14 @@ public function isException() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarEventDetailsType */ - public function getIsException() + public function setIsException($value) { - return $this->isException; + $this->isException = $this->castValueIfNeeded("isException", $value); + return $this; } /** @@ -143,11 +216,14 @@ public function isReminderSet() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarEventDetailsType */ - public function getIsReminderSet() + public function setIsReminderSet($value) { - return $this->isReminderSet; + $this->isReminderSet = $this->castValueIfNeeded("isReminderSet", $value); + return $this; } /** @@ -159,10 +235,13 @@ public function isPrivate() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarEventDetailsType */ - public function getIsPrivate() + public function setIsPrivate($value) { - return $this->isPrivate; + $this->isPrivate = $this->castValueIfNeeded("isPrivate", $value); + return $this; } } diff --git a/src/API/Type/CalendarEventType.php b/src/API/Type/CalendarEventType.php index cc36a25c..42263777 100644 --- a/src/API/Type/CalendarEventType.php +++ b/src/API/Type/CalendarEventType.php @@ -9,11 +9,6 @@ * * * XSD Type: CalendarEvent - * - * @method CalendarEventType setStartTime(\DateTime $startTime) - * @method CalendarEventType setEndTime(\DateTime $endTime) - * @method CalendarEventType setBusyType(string $busyType) - * @method CalendarEventType setCalendarEventDetails(CalendarEventDetailsType $calendarEventDetails) */ class CalendarEventType extends Type { @@ -74,4 +69,48 @@ public function getCalendarEventDetails() { return $this->calendarEventDetails; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarEventType + */ + public function setStartTime(\DateTime|string $value) + { + $this->startTime = $this->castValueIfNeeded("startTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarEventType + */ + public function setEndTime(\DateTime|string $value) + { + $this->endTime = $this->castValueIfNeeded("endTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarEventType + */ + public function setBusyType($value) + { + $this->busyType = $this->castValueIfNeeded("busyType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarEventDetailsType + * @return CalendarEventType + */ + public function setCalendarEventDetails(CalendarEventDetailsType $value) + { + $this->calendarEventDetails = $this->castValueIfNeeded("calendarEventDetails", $value); + return $this; + } } diff --git a/src/API/Type/CalendarFolderType.php b/src/API/Type/CalendarFolderType.php index ec1ed866..153b9f13 100644 --- a/src/API/Type/CalendarFolderType.php +++ b/src/API/Type/CalendarFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: CalendarFolderType - * - * @method CalendarFolderType setSharingEffectiveRights(string $sharingEffectiveRights) - * @method CalendarFolderType setPermissionSet(CalendarPermissionSetType $permissionSet) */ class CalendarFolderType extends BaseFolderType { @@ -39,4 +36,26 @@ public function getPermissionSet() { return $this->permissionSet; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarFolderType + */ + public function setSharingEffectiveRights($value) + { + $this->sharingEffectiveRights = $this->castValueIfNeeded("sharingEffectiveRights", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarPermissionSetType + * @return CalendarFolderType + */ + public function setPermissionSet(CalendarPermissionSetType $value) + { + $this->permissionSet = $this->castValueIfNeeded("permissionSet", $value); + return $this; + } } diff --git a/src/API/Type/CalendarItemType.php b/src/API/Type/CalendarItemType.php index 026a67c0..182a5153 100644 --- a/src/API/Type/CalendarItemType.php +++ b/src/API/Type/CalendarItemType.php @@ -8,54 +8,11 @@ * * XSD Type: CalendarItemType * - * @method CalendarItemType setUID(string $uID) - * @method CalendarItemType setRecurrenceId(\DateTime $recurrenceId) - * @method CalendarItemType setDateTimeStamp(\DateTime $dateTimeStamp) - * @method CalendarItemType setStart(\DateTime $start) - * @method CalendarItemType setEnd(\DateTime $end) - * @method CalendarItemType setOriginalStart(\DateTime $originalStart) - * @method CalendarItemType setIsAllDayEvent(boolean $isAllDayEvent) - * @method CalendarItemType setLegacyFreeBusyStatus(string $legacyFreeBusyStatus) - * @method CalendarItemType setLocation(string $location) - * @method CalendarItemType setWhen(string $when) - * @method CalendarItemType setIsMeeting(boolean $isMeeting) - * @method CalendarItemType setIsCancelled(boolean $isCancelled) - * @method CalendarItemType setIsRecurring(boolean $isRecurring) - * @method CalendarItemType setMeetingRequestWasSent(boolean $meetingRequestWasSent) - * @method CalendarItemType setIsResponseRequested(boolean $isResponseRequested) - * @method CalendarItemType setCalendarItemType(string $calendarItemType) - * @method CalendarItemType setMyResponseType(string $myResponseType) - * @method CalendarItemType setOrganizer(SingleRecipientType $organizer) * @method CalendarItemType addRequiredAttendees(AttendeeType $requiredAttendees) - * @method CalendarItemType setRequiredAttendees(array $requiredAttendees) * @method CalendarItemType addOptionalAttendees(AttendeeType $optionalAttendees) - * @method CalendarItemType setOptionalAttendees(array $optionalAttendees) * @method CalendarItemType addResources(AttendeeType $resources) - * @method CalendarItemType setResources(array $resources) - * @method CalendarItemType setConflictingMeetingCount(integer $conflictingMeetingCount) - * @method CalendarItemType setAdjacentMeetingCount(integer $adjacentMeetingCount) - * @method CalendarItemType setConflictingMeetings(NonEmptyArrayOfAllItemsType $conflictingMeetings) - * @method CalendarItemType setAdjacentMeetings(NonEmptyArrayOfAllItemsType $adjacentMeetings) - * @method CalendarItemType setDuration(string $duration) - * @method CalendarItemType setTimeZone(string $timeZone) - * @method CalendarItemType setAppointmentReplyTime(\DateTime $appointmentReplyTime) - * @method CalendarItemType setAppointmentSequenceNumber(integer $appointmentSequenceNumber) - * @method CalendarItemType setAppointmentState(integer $appointmentState) - * @method CalendarItemType setRecurrence(RecurrenceType $recurrence) - * @method CalendarItemType setFirstOccurrence(OccurrenceInfoType $firstOccurrence) - * @method CalendarItemType setLastOccurrence(OccurrenceInfoType $lastOccurrence) * @method CalendarItemType addModifiedOccurrences(OccurrenceInfoType $modifiedOccurrences) - * @method CalendarItemType setModifiedOccurrences(array $modifiedOccurrences) * @method CalendarItemType addDeletedOccurrences(DeletedOccurrenceInfoType $deletedOccurrences) - * @method CalendarItemType setDeletedOccurrences(array $deletedOccurrences) - * @method CalendarItemType setMeetingTimeZone(TimeZoneType $meetingTimeZone) - * @method CalendarItemType setStartTimeZone(TimeZoneDefinitionType $startTimeZone) - * @method CalendarItemType setEndTimeZone(TimeZoneDefinitionType $endTimeZone) - * @method CalendarItemType setConferenceType(integer $conferenceType) - * @method CalendarItemType setAllowNewTimeProposal(boolean $allowNewTimeProposal) - * @method CalendarItemType setIsOnlineMeeting(boolean $isOnlineMeeting) - * @method CalendarItemType setMeetingWorkspaceUrl(string $meetingWorkspaceUrl) - * @method CalendarItemType setNetShowUrl(string $netShowUrl) */ class CalendarItemType extends ItemType { @@ -332,14 +289,6 @@ public function getOriginalStart() return $this->originalStart; } - /** - * @returns bool - */ - public function isAllDayEvent() - { - return ((bool) $this->isAllDayEvent); - } - /** * @return boolean */ @@ -372,14 +321,6 @@ public function getWhen() return $this->when; } - /** - * @returns bool - */ - public function isMeeting() - { - return ((bool) $this->isMeeting); - } - /** * @return boolean */ @@ -388,14 +329,6 @@ public function getIsMeeting() return $this->isMeeting; } - /** - * @returns bool - */ - public function isCancelled() - { - return ((bool) $this->isCancelled); - } - /** * @return boolean */ @@ -404,14 +337,6 @@ public function getIsCancelled() return $this->isCancelled; } - /** - * @returns bool - */ - public function isRecurring() - { - return ((bool) $this->isRecurring); - } - /** * @return boolean */ @@ -420,14 +345,6 @@ public function getIsRecurring() return $this->isRecurring; } - /** - * @returns bool - */ - public function isMeetingRequestWasSent() - { - return ((bool) $this->meetingRequestWasSent); - } - /** * @return boolean */ @@ -436,14 +353,6 @@ public function getMeetingRequestWasSent() return $this->meetingRequestWasSent; } - /** - * @returns bool - */ - public function isResponseRequested() - { - return ((bool) $this->isResponseRequested); - } - /** * @return boolean */ @@ -644,6 +553,515 @@ public function getConferenceType() return $this->conferenceType; } + /** + * @return boolean + */ + public function getAllowNewTimeProposal() + { + return $this->allowNewTimeProposal; + } + + /** + * @return boolean + */ + public function getIsOnlineMeeting() + { + return $this->isOnlineMeeting; + } + + /** + * @return string + */ + public function getMeetingWorkspaceUrl() + { + return $this->meetingWorkspaceUrl; + } + + /** + * @return string + */ + public function getNetShowUrl() + { + return $this->netShowUrl; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setUID($value) + { + $this->uID = $this->castValueIfNeeded("uID", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setRecurrenceId(\DateTime|string $value) + { + $this->recurrenceId = $this->castValueIfNeeded("recurrenceId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setDateTimeStamp(\DateTime|string $value) + { + $this->dateTimeStamp = $this->castValueIfNeeded("dateTimeStamp", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setStart(\DateTime|string $value) + { + $this->start = $this->castValueIfNeeded("start", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setEnd(\DateTime|string $value) + { + $this->end = $this->castValueIfNeeded("end", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setOriginalStart(\DateTime|string $value) + { + $this->originalStart = $this->castValueIfNeeded("originalStart", $value); + return $this; + } + + /** + * @returns bool + */ + public function isAllDayEvent() + { + return ((bool) $this->isAllDayEvent); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setIsAllDayEvent($value) + { + $this->isAllDayEvent = $this->castValueIfNeeded("isAllDayEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setLegacyFreeBusyStatus($value) + { + $this->legacyFreeBusyStatus = $this->castValueIfNeeded("legacyFreeBusyStatus", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setLocation($value) + { + $this->location = $this->castValueIfNeeded("location", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setWhen($value) + { + $this->when = $this->castValueIfNeeded("when", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMeeting() + { + return ((bool) $this->isMeeting); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setIsMeeting($value) + { + $this->isMeeting = $this->castValueIfNeeded("isMeeting", $value); + return $this; + } + + /** + * @returns bool + */ + public function isCancelled() + { + return ((bool) $this->isCancelled); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setIsCancelled($value) + { + $this->isCancelled = $this->castValueIfNeeded("isCancelled", $value); + return $this; + } + + /** + * @returns bool + */ + public function isRecurring() + { + return ((bool) $this->isRecurring); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setIsRecurring($value) + { + $this->isRecurring = $this->castValueIfNeeded("isRecurring", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMeetingRequestWasSent() + { + return ((bool) $this->meetingRequestWasSent); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setMeetingRequestWasSent($value) + { + $this->meetingRequestWasSent = $this->castValueIfNeeded("meetingRequestWasSent", $value); + return $this; + } + + /** + * @returns bool + */ + public function isResponseRequested() + { + return ((bool) $this->isResponseRequested); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType + */ + public function setIsResponseRequested($value) + { + $this->isResponseRequested = $this->castValueIfNeeded("isResponseRequested", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setCalendarItemType($value) + { + $this->calendarItemType = $this->castValueIfNeeded("calendarItemType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setMyResponseType($value) + { + $this->myResponseType = $this->castValueIfNeeded("myResponseType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return CalendarItemType + */ + public function setOrganizer(SingleRecipientType $value) + { + $this->organizer = $this->castValueIfNeeded("organizer", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return CalendarItemType + */ + public function setRequiredAttendees(array $value) + { + $this->requiredAttendees = $this->castValueIfNeeded("requiredAttendees", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return CalendarItemType + */ + public function setOptionalAttendees(array $value) + { + $this->optionalAttendees = $this->castValueIfNeeded("optionalAttendees", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return CalendarItemType + */ + public function setResources(array $value) + { + $this->resources = $this->castValueIfNeeded("resources", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return CalendarItemType + */ + public function setConflictingMeetingCount($value) + { + $this->conflictingMeetingCount = $this->castValueIfNeeded("conflictingMeetingCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return CalendarItemType + */ + public function setAdjacentMeetingCount($value) + { + $this->adjacentMeetingCount = $this->castValueIfNeeded("adjacentMeetingCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfAllItemsType + * @return CalendarItemType + */ + public function setConflictingMeetings(NonEmptyArrayOfAllItemsType $value) + { + $this->conflictingMeetings = $this->castValueIfNeeded("conflictingMeetings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfAllItemsType + * @return CalendarItemType + */ + public function setAdjacentMeetings(NonEmptyArrayOfAllItemsType $value) + { + $this->adjacentMeetings = $this->castValueIfNeeded("adjacentMeetings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setDuration($value) + { + $this->duration = $this->castValueIfNeeded("duration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType + */ + public function setTimeZone($value) + { + $this->timeZone = $this->castValueIfNeeded("timeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarItemType + */ + public function setAppointmentReplyTime(\DateTime|string $value) + { + $this->appointmentReplyTime = $this->castValueIfNeeded("appointmentReplyTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return CalendarItemType + */ + public function setAppointmentSequenceNumber($value) + { + $this->appointmentSequenceNumber = $this->castValueIfNeeded("appointmentSequenceNumber", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return CalendarItemType + */ + public function setAppointmentState($value) + { + $this->appointmentState = $this->castValueIfNeeded("appointmentState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurrenceType + * @return CalendarItemType + */ + public function setRecurrence(RecurrenceType $value) + { + $this->recurrence = $this->castValueIfNeeded("recurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType + * @return CalendarItemType + */ + public function setFirstOccurrence(OccurrenceInfoType $value) + { + $this->firstOccurrence = $this->castValueIfNeeded("firstOccurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType + * @return CalendarItemType + */ + public function setLastOccurrence(OccurrenceInfoType $value) + { + $this->lastOccurrence = $this->castValueIfNeeded("lastOccurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType[] + * @return CalendarItemType + */ + public function setModifiedOccurrences(array $value) + { + $this->modifiedOccurrences = $this->castValueIfNeeded("modifiedOccurrences", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeletedOccurrenceInfoType[] + * @return CalendarItemType + */ + public function setDeletedOccurrences(array $value) + { + $this->deletedOccurrences = $this->castValueIfNeeded("deletedOccurrences", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneType + * @return CalendarItemType + */ + public function setMeetingTimeZone(TimeZoneType $value) + { + $this->meetingTimeZone = $this->castValueIfNeeded("meetingTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneDefinitionType + * @return CalendarItemType + */ + public function setStartTimeZone(TimeZoneDefinitionType $value) + { + $this->startTimeZone = $this->castValueIfNeeded("startTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneDefinitionType + * @return CalendarItemType + */ + public function setEndTimeZone(TimeZoneDefinitionType $value) + { + $this->endTimeZone = $this->castValueIfNeeded("endTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return CalendarItemType + */ + public function setConferenceType($value) + { + $this->conferenceType = $this->castValueIfNeeded("conferenceType", $value); + return $this; + } + /** * @returns bool */ @@ -653,11 +1071,14 @@ public function isAllowNewTimeProposal() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType */ - public function getAllowNewTimeProposal() + public function setAllowNewTimeProposal($value) { - return $this->allowNewTimeProposal; + $this->allowNewTimeProposal = $this->castValueIfNeeded("allowNewTimeProposal", $value); + return $this; } /** @@ -669,26 +1090,35 @@ public function isOnlineMeeting() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return CalendarItemType */ - public function getIsOnlineMeeting() + public function setIsOnlineMeeting($value) { - return $this->isOnlineMeeting; + $this->isOnlineMeeting = $this->castValueIfNeeded("isOnlineMeeting", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType */ - public function getMeetingWorkspaceUrl() + public function setMeetingWorkspaceUrl($value) { - return $this->meetingWorkspaceUrl; + $this->meetingWorkspaceUrl = $this->castValueIfNeeded("meetingWorkspaceUrl", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarItemType */ - public function getNetShowUrl() + public function setNetShowUrl($value) { - return $this->netShowUrl; + $this->netShowUrl = $this->castValueIfNeeded("netShowUrl", $value); + return $this; } } diff --git a/src/API/Type/CalendarPermissionSetType.php b/src/API/Type/CalendarPermissionSetType.php index daa8c2d8..273d74be 100644 --- a/src/API/Type/CalendarPermissionSetType.php +++ b/src/API/Type/CalendarPermissionSetType.php @@ -11,9 +11,7 @@ * XSD Type: CalendarPermissionSetType * * @method CalendarPermissionSetType addCalendarPermissions(CalendarPermissionType $calendarPermissions) - * @method CalendarPermissionSetType setCalendarPermissions(array $calendarPermissions) * @method CalendarPermissionSetType addUnknownEntries(string $unknownEntries) - * @method CalendarPermissionSetType setUnknownEntries(array $unknownEntries) */ class CalendarPermissionSetType extends Type { @@ -43,4 +41,26 @@ public function getUnknownEntries() { return $this->unknownEntries; } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarPermissionType[] + * @return CalendarPermissionSetType + */ + public function setCalendarPermissions(array $value) + { + $this->calendarPermissions = $this->castValueIfNeeded("calendarPermissions", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return CalendarPermissionSetType + */ + public function setUnknownEntries(array $value) + { + $this->unknownEntries = $this->castValueIfNeeded("unknownEntries", $value); + return $this; + } } diff --git a/src/API/Type/CalendarPermissionType.php b/src/API/Type/CalendarPermissionType.php index 2b5be7f9..3d66e8fe 100644 --- a/src/API/Type/CalendarPermissionType.php +++ b/src/API/Type/CalendarPermissionType.php @@ -7,9 +7,6 @@ * * * XSD Type: CalendarPermissionType - * - * @method CalendarPermissionType setReadItems(string $readItems) - * @method CalendarPermissionType setCalendarPermissionLevel(string $calendarPermissionLevel) */ class CalendarPermissionType extends BasePermissionType { @@ -39,4 +36,26 @@ public function getCalendarPermissionLevel() { return $this->calendarPermissionLevel; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarPermissionType + */ + public function setReadItems($value) + { + $this->readItems = $this->castValueIfNeeded("readItems", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CalendarPermissionType + */ + public function setCalendarPermissionLevel($value) + { + $this->calendarPermissionLevel = $this->castValueIfNeeded("calendarPermissionLevel", $value); + return $this; + } } diff --git a/src/API/Type/CalendarViewType.php b/src/API/Type/CalendarViewType.php index c723bfbc..7e52934a 100644 --- a/src/API/Type/CalendarViewType.php +++ b/src/API/Type/CalendarViewType.php @@ -7,9 +7,6 @@ * * * XSD Type: CalendarViewType - * - * @method CalendarViewType setStartDate(\DateTime $startDate) - * @method CalendarViewType setEndDate(\DateTime $endDate) */ class CalendarViewType extends BasePagingType { @@ -44,4 +41,26 @@ public function getEndDate() { return $this->endDate; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarViewType + */ + public function setStartDate(\DateTime|string $value) + { + $this->startDate = $this->castValueIfNeeded("startDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return CalendarViewType + */ + public function setEndDate(\DateTime|string $value) + { + $this->endDate = $this->castValueIfNeeded("endDate", $value); + return $this; + } } diff --git a/src/API/Type/ChangeDescriptionType.php b/src/API/Type/ChangeDescriptionType.php index cc351686..c5860b40 100644 --- a/src/API/Type/ChangeDescriptionType.php +++ b/src/API/Type/ChangeDescriptionType.php @@ -11,11 +11,8 @@ * XSD Type: ChangeDescriptionType * * @method ChangeDescriptionType addFieldURI(FieldURI $fieldURI) - * @method ChangeDescriptionType setFieldURI(array $fieldURI) * @method ChangeDescriptionType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method ChangeDescriptionType setIndexedFieldURI(array $indexedFieldURI) * @method ChangeDescriptionType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method ChangeDescriptionType setExtendedFieldURI(array $extendedFieldURI) */ class ChangeDescriptionType extends Type { @@ -58,4 +55,37 @@ public function getExtendedFieldURI() { return $this->extendedFieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return ChangeDescriptionType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return ChangeDescriptionType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return ChangeDescriptionType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } } diff --git a/src/API/Type/CompleteNameType.php b/src/API/Type/CompleteNameType.php index 668d4ca9..52f16582 100644 --- a/src/API/Type/CompleteNameType.php +++ b/src/API/Type/CompleteNameType.php @@ -9,17 +9,6 @@ * * * XSD Type: CompleteNameType - * - * @method CompleteNameType setTitle(string $title) - * @method CompleteNameType setFirstName(string $firstName) - * @method CompleteNameType setMiddleName(string $middleName) - * @method CompleteNameType setLastName(string $lastName) - * @method CompleteNameType setSuffix(string $suffix) - * @method CompleteNameType setInitials(string $initials) - * @method CompleteNameType setFullName(string $fullName) - * @method CompleteNameType setNickname(string $nickname) - * @method CompleteNameType setYomiFirstName(string $yomiFirstName) - * @method CompleteNameType setYomiLastName(string $yomiLastName) */ class CompleteNameType extends Type { @@ -153,4 +142,114 @@ public function getYomiLastName() { return $this->yomiLastName; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setTitle($value) + { + $this->title = $this->castValueIfNeeded("title", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setFirstName($value) + { + $this->firstName = $this->castValueIfNeeded("firstName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setMiddleName($value) + { + $this->middleName = $this->castValueIfNeeded("middleName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setLastName($value) + { + $this->lastName = $this->castValueIfNeeded("lastName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setSuffix($value) + { + $this->suffix = $this->castValueIfNeeded("suffix", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setInitials($value) + { + $this->initials = $this->castValueIfNeeded("initials", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setFullName($value) + { + $this->fullName = $this->castValueIfNeeded("fullName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setNickname($value) + { + $this->nickname = $this->castValueIfNeeded("nickname", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setYomiFirstName($value) + { + $this->yomiFirstName = $this->castValueIfNeeded("yomiFirstName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return CompleteNameType + */ + public function setYomiLastName($value) + { + $this->yomiLastName = $this->castValueIfNeeded("yomiLastName", $value); + return $this; + } } diff --git a/src/API/Type/ConflictResultsType.php b/src/API/Type/ConflictResultsType.php index 983eb284..156e9490 100644 --- a/src/API/Type/ConflictResultsType.php +++ b/src/API/Type/ConflictResultsType.php @@ -9,8 +9,6 @@ * * * XSD Type: ConflictResultsType - * - * @method ConflictResultsType setCount(integer $count) */ class ConflictResultsType extends Type { @@ -27,4 +25,15 @@ public function getCount() { return $this->count; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConflictResultsType + */ + public function setCount($value) + { + $this->count = $this->castValueIfNeeded("count", $value); + return $this; + } } diff --git a/src/API/Type/ConnectingSIDType.php b/src/API/Type/ConnectingSIDType.php index 61d14761..52326b8a 100644 --- a/src/API/Type/ConnectingSIDType.php +++ b/src/API/Type/ConnectingSIDType.php @@ -9,11 +9,6 @@ * * * XSD Type: ConnectingSIDType - * - * @method ConnectingSIDType setPrincipalName(string $principalName) - * @method ConnectingSIDType setSID(string $sID) - * @method ConnectingSIDType setPrimarySmtpAddress(string $primarySmtpAddress) - * @method ConnectingSIDType setSmtpAddress(string $smtpAddress) */ class ConnectingSIDType extends Type { @@ -69,4 +64,48 @@ public function getSmtpAddress() { return $this->smtpAddress; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConnectingSIDType + */ + public function setPrincipalName($value) + { + $this->principalName = $this->castValueIfNeeded("principalName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConnectingSIDType + */ + public function setSID($value) + { + $this->sID = $this->castValueIfNeeded("sID", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConnectingSIDType + */ + public function setPrimarySmtpAddress($value) + { + $this->primarySmtpAddress = $this->castValueIfNeeded("primarySmtpAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConnectingSIDType + */ + public function setSmtpAddress($value) + { + $this->smtpAddress = $this->castValueIfNeeded("smtpAddress", $value); + return $this; + } } diff --git a/src/API/Type/ConstantValueType.php b/src/API/Type/ConstantValueType.php index 783a57c3..1901edc7 100644 --- a/src/API/Type/ConstantValueType.php +++ b/src/API/Type/ConstantValueType.php @@ -9,8 +9,6 @@ * * * XSD Type: ConstantValueType - * - * @method ConstantValueType setValue(string $value) */ class ConstantValueType extends Type { @@ -27,4 +25,15 @@ public function getValue() { return $this->value; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConstantValueType + */ + public function setValue($value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } } diff --git a/src/API/Type/ContactItemType.php b/src/API/Type/ContactItemType.php index 185fcd9c..4766bf69 100644 --- a/src/API/Type/ContactItemType.php +++ b/src/API/Type/ContactItemType.php @@ -8,57 +8,15 @@ * * XSD Type: ContactItemType * - * @method ContactItemType setFileAs(string $fileAs) - * @method ContactItemType setFileAsMapping(string $fileAsMapping) - * @method ContactItemType setDisplayName(string $displayName) - * @method ContactItemType setGivenName(string $givenName) - * @method ContactItemType setInitials(string $initials) - * @method ContactItemType setMiddleName(string $middleName) - * @method ContactItemType setNickname(string $nickname) - * @method ContactItemType setCompleteName(CompleteNameType $completeName) - * @method ContactItemType setCompanyName(string $companyName) * @method ContactItemType addEmailAddresses(EmailAddressDictionaryEntryType $emailAddresses) - * @method ContactItemType setEmailAddresses(array $emailAddresses) * @method ContactItemType addPhysicalAddresses(PhysicalAddressDictionaryEntryType $physicalAddresses) - * @method ContactItemType setPhysicalAddresses(array $physicalAddresses) * @method ContactItemType addPhoneNumbers(PhoneNumberDictionaryEntryType $phoneNumbers) - * @method ContactItemType setPhoneNumbers(array $phoneNumbers) - * @method ContactItemType setAssistantName(string $assistantName) - * @method ContactItemType setBirthday(\DateTime $birthday) - * @method ContactItemType setBusinessHomePage(string $businessHomePage) * @method ContactItemType addChildren(string $children) - * @method ContactItemType setChildren(array $children) * @method ContactItemType addCompanies(string $companies) - * @method ContactItemType setCompanies(array $companies) - * @method ContactItemType setContactSource(string $contactSource) - * @method ContactItemType setDepartment(string $department) - * @method ContactItemType setGeneration(string $generation) * @method ContactItemType addImAddresses(ImAddressDictionaryEntryType $imAddresses) - * @method ContactItemType setImAddresses(array $imAddresses) - * @method ContactItemType setJobTitle(string $jobTitle) - * @method ContactItemType setManager(string $manager) - * @method ContactItemType setMileage(string $mileage) - * @method ContactItemType setOfficeLocation(string $officeLocation) - * @method ContactItemType setPostalAddressIndex(string $postalAddressIndex) - * @method ContactItemType setProfession(string $profession) - * @method ContactItemType setSpouseName(string $spouseName) - * @method ContactItemType setSurname(string $surname) - * @method ContactItemType setWeddingAnniversary(\DateTime $weddingAnniversary) - * @method ContactItemType setHasPicture(boolean $hasPicture) - * @method ContactItemType setPhoneticFullName(string $phoneticFullName) - * @method ContactItemType setPhoneticFirstName(string $phoneticFirstName) - * @method ContactItemType setPhoneticLastName(string $phoneticLastName) - * @method ContactItemType setAlias(string $alias) - * @method ContactItemType setNotes(string $notes) - * @method ContactItemType setPhoto(string $photo) * @method ContactItemType addUserSMIMECertificate(string $userSMIMECertificate) - * @method ContactItemType setUserSMIMECertificate(array $userSMIMECertificate) * @method ContactItemType addMSExchangeCertificate(string $mSExchangeCertificate) - * @method ContactItemType setMSExchangeCertificate(array $mSExchangeCertificate) - * @method ContactItemType setDirectoryId(string $directoryId) - * @method ContactItemType setManagerMailbox(SingleRecipientType $managerMailbox) * @method ContactItemType addDirectReports(EmailAddressType $directReports) - * @method ContactItemType setDirectReports(array $directReports) */ class ContactItemType extends ItemType { @@ -518,14 +476,6 @@ public function getWeddingAnniversary() return $this->weddingAnniversary; } - /** - * @returns bool - */ - public function isHasPicture() - { - return ((bool) $this->hasPicture); - } - /** * @return boolean */ @@ -621,4 +571,474 @@ public function getDirectReports() { return $this->directReports; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setFileAs($value) + { + $this->fileAs = $this->castValueIfNeeded("fileAs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setFileAsMapping($value) + { + $this->fileAsMapping = $this->castValueIfNeeded("fileAsMapping", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setDisplayName($value) + { + $this->displayName = $this->castValueIfNeeded("displayName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setGivenName($value) + { + $this->givenName = $this->castValueIfNeeded("givenName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setInitials($value) + { + $this->initials = $this->castValueIfNeeded("initials", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setMiddleName($value) + { + $this->middleName = $this->castValueIfNeeded("middleName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setNickname($value) + { + $this->nickname = $this->castValueIfNeeded("nickname", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CompleteNameType + * @return ContactItemType + */ + public function setCompleteName(CompleteNameType $value) + { + $this->completeName = $this->castValueIfNeeded("completeName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setCompanyName($value) + { + $this->companyName = $this->castValueIfNeeded("companyName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressDictionaryEntryType[] + * @return ContactItemType + */ + public function setEmailAddresses(array $value) + { + $this->emailAddresses = $this->castValueIfNeeded("emailAddresses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PhysicalAddressDictionaryEntryType[] + * @return ContactItemType + */ + public function setPhysicalAddresses(array $value) + { + $this->physicalAddresses = $this->castValueIfNeeded("physicalAddresses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PhoneNumberDictionaryEntryType[] + * @return ContactItemType + */ + public function setPhoneNumbers(array $value) + { + $this->phoneNumbers = $this->castValueIfNeeded("phoneNumbers", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setAssistantName($value) + { + $this->assistantName = $this->castValueIfNeeded("assistantName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ContactItemType + */ + public function setBirthday(\DateTime|string $value) + { + $this->birthday = $this->castValueIfNeeded("birthday", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setBusinessHomePage($value) + { + $this->businessHomePage = $this->castValueIfNeeded("businessHomePage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ContactItemType + */ + public function setChildren(array $value) + { + $this->children = $this->castValueIfNeeded("children", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ContactItemType + */ + public function setCompanies(array $value) + { + $this->companies = $this->castValueIfNeeded("companies", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setContactSource($value) + { + $this->contactSource = $this->castValueIfNeeded("contactSource", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setDepartment($value) + { + $this->department = $this->castValueIfNeeded("department", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setGeneration($value) + { + $this->generation = $this->castValueIfNeeded("generation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ImAddressDictionaryEntryType[] + * @return ContactItemType + */ + public function setImAddresses(array $value) + { + $this->imAddresses = $this->castValueIfNeeded("imAddresses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setJobTitle($value) + { + $this->jobTitle = $this->castValueIfNeeded("jobTitle", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setManager($value) + { + $this->manager = $this->castValueIfNeeded("manager", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setMileage($value) + { + $this->mileage = $this->castValueIfNeeded("mileage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setOfficeLocation($value) + { + $this->officeLocation = $this->castValueIfNeeded("officeLocation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setPostalAddressIndex($value) + { + $this->postalAddressIndex = $this->castValueIfNeeded("postalAddressIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setProfession($value) + { + $this->profession = $this->castValueIfNeeded("profession", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setSpouseName($value) + { + $this->spouseName = $this->castValueIfNeeded("spouseName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setSurname($value) + { + $this->surname = $this->castValueIfNeeded("surname", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ContactItemType + */ + public function setWeddingAnniversary(\DateTime|string $value) + { + $this->weddingAnniversary = $this->castValueIfNeeded("weddingAnniversary", $value); + return $this; + } + + /** + * @returns bool + */ + public function isHasPicture() + { + return ((bool) $this->hasPicture); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ContactItemType + */ + public function setHasPicture($value) + { + $this->hasPicture = $this->castValueIfNeeded("hasPicture", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setPhoneticFullName($value) + { + $this->phoneticFullName = $this->castValueIfNeeded("phoneticFullName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setPhoneticFirstName($value) + { + $this->phoneticFirstName = $this->castValueIfNeeded("phoneticFirstName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setPhoneticLastName($value) + { + $this->phoneticLastName = $this->castValueIfNeeded("phoneticLastName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setAlias($value) + { + $this->alias = $this->castValueIfNeeded("alias", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setNotes($value) + { + $this->notes = $this->castValueIfNeeded("notes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setPhoto($value) + { + $this->photo = $this->castValueIfNeeded("photo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ContactItemType + */ + public function setUserSMIMECertificate(array $value) + { + $this->userSMIMECertificate = $this->castValueIfNeeded("userSMIMECertificate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ContactItemType + */ + public function setMSExchangeCertificate(array $value) + { + $this->mSExchangeCertificate = $this->castValueIfNeeded("mSExchangeCertificate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactItemType + */ + public function setDirectoryId($value) + { + $this->directoryId = $this->castValueIfNeeded("directoryId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return ContactItemType + */ + public function setManagerMailbox(SingleRecipientType $value) + { + $this->managerMailbox = $this->castValueIfNeeded("managerMailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return ContactItemType + */ + public function setDirectReports(array $value) + { + $this->directReports = $this->castValueIfNeeded("directReports", $value); + return $this; + } } diff --git a/src/API/Type/ContactsFolderType.php b/src/API/Type/ContactsFolderType.php index 653ea0d5..9dafe556 100644 --- a/src/API/Type/ContactsFolderType.php +++ b/src/API/Type/ContactsFolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: ContactsFolderType - * - * @method ContactsFolderType setSharingEffectiveRights(string $sharingEffectiveRights) - * @method ContactsFolderType setPermissionSet(PermissionSetType $permissionSet) */ class ContactsFolderType extends BaseFolderType { @@ -39,4 +36,26 @@ public function getPermissionSet() { return $this->permissionSet; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactsFolderType + */ + public function setSharingEffectiveRights($value) + { + $this->sharingEffectiveRights = $this->castValueIfNeeded("sharingEffectiveRights", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PermissionSetType + * @return ContactsFolderType + */ + public function setPermissionSet(PermissionSetType $value) + { + $this->permissionSet = $this->castValueIfNeeded("permissionSet", $value); + return $this; + } } diff --git a/src/API/Type/ContactsViewType.php b/src/API/Type/ContactsViewType.php index b8094585..878d551e 100644 --- a/src/API/Type/ContactsViewType.php +++ b/src/API/Type/ContactsViewType.php @@ -7,9 +7,6 @@ * * * XSD Type: ContactsViewType - * - * @method ContactsViewType setInitialName(string $initialName) - * @method ContactsViewType setFinalName(string $finalName) */ class ContactsViewType extends BasePagingType { @@ -39,4 +36,26 @@ public function getFinalName() { return $this->finalName; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactsViewType + */ + public function setInitialName($value) + { + $this->initialName = $this->castValueIfNeeded("initialName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContactsViewType + */ + public function setFinalName($value) + { + $this->finalName = $this->castValueIfNeeded("finalName", $value); + return $this; + } } diff --git a/src/API/Type/ContainsExpressionType.php b/src/API/Type/ContainsExpressionType.php index 46af47e7..8c2974e4 100644 --- a/src/API/Type/ContainsExpressionType.php +++ b/src/API/Type/ContainsExpressionType.php @@ -8,15 +8,9 @@ * * XSD Type: ContainsExpressionType * - * @method ContainsExpressionType setContainmentMode(string $containmentMode) - * @method ContainsExpressionType setContainmentComparison(string $containmentComparison) * @method ContainsExpressionType addFieldURI(FieldURI $fieldURI) - * @method ContainsExpressionType setFieldURI(array $fieldURI) * @method ContainsExpressionType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method ContainsExpressionType setIndexedFieldURI(array $indexedFieldURI) * @method ContainsExpressionType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method ContainsExpressionType setExtendedFieldURI(array $extendedFieldURI) - * @method ContainsExpressionType setConstant(ConstantValueType $constant) */ class ContainsExpressionType extends SearchExpressionType { @@ -98,4 +92,70 @@ public function getConstant() { return $this->constant; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContainsExpressionType + */ + public function setContainmentMode($value) + { + $this->containmentMode = $this->castValueIfNeeded("containmentMode", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ContainsExpressionType + */ + public function setContainmentComparison($value) + { + $this->containmentComparison = $this->castValueIfNeeded("containmentComparison", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return ContainsExpressionType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return ContainsExpressionType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return ContainsExpressionType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ConstantValueType + * @return ContainsExpressionType + */ + public function setConstant(ConstantValueType $value) + { + $this->constant = $this->castValueIfNeeded("constant", $value); + return $this; + } } diff --git a/src/API/Type/ConversationActionType.php b/src/API/Type/ConversationActionType.php index b86f4188..910c9aef 100644 --- a/src/API/Type/ConversationActionType.php +++ b/src/API/Type/ConversationActionType.php @@ -10,17 +10,7 @@ * * XSD Type: ConversationActionType * - * @method ConversationActionType setAction(string $action) - * @method ConversationActionType setConversationId(ItemIdType $conversationId) - * @method ConversationActionType setContextFolderId(TargetFolderIdType $contextFolderId) - * @method ConversationActionType setConversationLastSyncTime(\DateTime $conversationLastSyncTime) - * @method ConversationActionType setProcessRightAway(boolean $processRightAway) - * @method ConversationActionType setDestinationFolderId(TargetFolderIdType $destinationFolderId) * @method ConversationActionType addCategories(string $categories) - * @method ConversationActionType setCategories(array $categories) - * @method ConversationActionType setEnableAlwaysDelete(boolean $enableAlwaysDelete) - * @method ConversationActionType setIsRead(boolean $isRead) - * @method ConversationActionType setDeleteType(string $deleteType) */ class ConversationActionType extends Type { @@ -111,14 +101,6 @@ public function getConversationLastSyncTime() return $this->conversationLastSyncTime; } - /** - * @returns bool - */ - public function isProcessRightAway() - { - return ((bool) $this->processRightAway); - } - /** * @return boolean */ @@ -143,6 +125,115 @@ public function getCategories() return $this->categories; } + /** + * @return boolean + */ + public function getEnableAlwaysDelete() + { + return $this->enableAlwaysDelete; + } + + /** + * @return boolean + */ + public function getIsRead() + { + return $this->isRead; + } + + /** + * @return string + */ + public function getDeleteType() + { + return $this->deleteType; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationActionType + */ + public function setAction($value) + { + $this->action = $this->castValueIfNeeded("action", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ConversationActionType + */ + public function setConversationId(ItemIdType $value) + { + $this->conversationId = $this->castValueIfNeeded("conversationId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TargetFolderIdType + * @return ConversationActionType + */ + public function setContextFolderId(TargetFolderIdType $value) + { + $this->contextFolderId = $this->castValueIfNeeded("contextFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ConversationActionType + */ + public function setConversationLastSyncTime(\DateTime|string $value) + { + $this->conversationLastSyncTime = $this->castValueIfNeeded("conversationLastSyncTime", $value); + return $this; + } + + /** + * @returns bool + */ + public function isProcessRightAway() + { + return ((bool) $this->processRightAway); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ConversationActionType + */ + public function setProcessRightAway($value) + { + $this->processRightAway = $this->castValueIfNeeded("processRightAway", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TargetFolderIdType + * @return ConversationActionType + */ + public function setDestinationFolderId(TargetFolderIdType $value) + { + $this->destinationFolderId = $this->castValueIfNeeded("destinationFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationActionType + */ + public function setCategories(array $value) + { + $this->categories = $this->castValueIfNeeded("categories", $value); + return $this; + } + /** * @returns bool */ @@ -152,11 +243,14 @@ public function isEnableAlwaysDelete() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ConversationActionType */ - public function getEnableAlwaysDelete() + public function setEnableAlwaysDelete($value) { - return $this->enableAlwaysDelete; + $this->enableAlwaysDelete = $this->castValueIfNeeded("enableAlwaysDelete", $value); + return $this; } /** @@ -168,18 +262,24 @@ public function isRead() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ConversationActionType */ - public function getIsRead() + public function setIsRead($value) { - return $this->isRead; + $this->isRead = $this->castValueIfNeeded("isRead", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationActionType */ - public function getDeleteType() + public function setDeleteType($value) { - return $this->deleteType; + $this->deleteType = $this->castValueIfNeeded("deleteType", $value); + return $this; } } diff --git a/src/API/Type/ConversationType.php b/src/API/Type/ConversationType.php index 7524dfea..879c8852 100644 --- a/src/API/Type/ConversationType.php +++ b/src/API/Type/ConversationType.php @@ -10,44 +10,16 @@ * * XSD Type: ConversationType * - * @method ConversationType setConversationId(ItemIdType $conversationId) - * @method ConversationType setConversationTopic(string $conversationTopic) * @method ConversationType addUniqueRecipients(string $uniqueRecipients) - * @method ConversationType setUniqueRecipients(array $uniqueRecipients) * @method ConversationType addGlobalUniqueRecipients(string $globalUniqueRecipients) - * @method ConversationType setGlobalUniqueRecipients(array $globalUniqueRecipients) * @method ConversationType addUniqueUnreadSenders(string $uniqueUnreadSenders) - * @method ConversationType setUniqueUnreadSenders(array $uniqueUnreadSenders) * @method ConversationType addGlobalUniqueUnreadSenders(string $globalUniqueUnreadSenders) - * @method ConversationType setGlobalUniqueUnreadSenders(array $globalUniqueUnreadSenders) * @method ConversationType addUniqueSenders(string $uniqueSenders) - * @method ConversationType setUniqueSenders(array $uniqueSenders) * @method ConversationType addGlobalUniqueSenders(string $globalUniqueSenders) - * @method ConversationType setGlobalUniqueSenders(array $globalUniqueSenders) - * @method ConversationType setLastDeliveryTime(\DateTime $lastDeliveryTime) - * @method ConversationType setGlobalLastDeliveryTime(\DateTime $globalLastDeliveryTime) * @method ConversationType addCategories(string $categories) - * @method ConversationType setCategories(array $categories) * @method ConversationType addGlobalCategories(string $globalCategories) - * @method ConversationType setGlobalCategories(array $globalCategories) - * @method ConversationType setFlagStatus(string $flagStatus) - * @method ConversationType setGlobalFlagStatus(string $globalFlagStatus) - * @method ConversationType setHasAttachments(boolean $hasAttachments) - * @method ConversationType setGlobalHasAttachments(boolean $globalHasAttachments) - * @method ConversationType setMessageCount(integer $messageCount) - * @method ConversationType setGlobalMessageCount(integer $globalMessageCount) - * @method ConversationType setUnreadCount(integer $unreadCount) - * @method ConversationType setGlobalUnreadCount(integer $globalUnreadCount) - * @method ConversationType setSize(integer $size) - * @method ConversationType setGlobalSize(integer $globalSize) * @method ConversationType addItemClasses(string $itemClasses) - * @method ConversationType setItemClasses(array $itemClasses) * @method ConversationType addGlobalItemClasses(string $globalItemClasses) - * @method ConversationType setGlobalItemClasses(array $globalItemClasses) - * @method ConversationType setImportance(string $importance) - * @method ConversationType setGlobalImportance(string $globalImportance) - * @method ConversationType setItemIds(NonEmptyArrayOfBaseItemIdsType $itemIds) - * @method ConversationType setGlobalItemIds(NonEmptyArrayOfBaseItemIdsType $globalItemIds) */ class ConversationType extends Type { @@ -309,14 +281,6 @@ public function getGlobalFlagStatus() return $this->globalFlagStatus; } - /** - * @returns bool - */ - public function isHasAttachments() - { - return ((bool) $this->hasAttachments); - } - /** * @return boolean */ @@ -325,14 +289,6 @@ public function getHasAttachments() return $this->hasAttachments; } - /** - * @returns bool - */ - public function isGlobalHasAttachments() - { - return ((bool) $this->globalHasAttachments); - } - /** * @return boolean */ @@ -436,4 +392,328 @@ public function getGlobalItemIds() { return $this->globalItemIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ConversationType + */ + public function setConversationId(ItemIdType $value) + { + $this->conversationId = $this->castValueIfNeeded("conversationId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationType + */ + public function setConversationTopic($value) + { + $this->conversationTopic = $this->castValueIfNeeded("conversationTopic", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setUniqueRecipients(array $value) + { + $this->uniqueRecipients = $this->castValueIfNeeded("uniqueRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setGlobalUniqueRecipients(array $value) + { + $this->globalUniqueRecipients = $this->castValueIfNeeded("globalUniqueRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setUniqueUnreadSenders(array $value) + { + $this->uniqueUnreadSenders = $this->castValueIfNeeded("uniqueUnreadSenders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setGlobalUniqueUnreadSenders(array $value) + { + $this->globalUniqueUnreadSenders = $this->castValueIfNeeded("globalUniqueUnreadSenders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setUniqueSenders(array $value) + { + $this->uniqueSenders = $this->castValueIfNeeded("uniqueSenders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setGlobalUniqueSenders(array $value) + { + $this->globalUniqueSenders = $this->castValueIfNeeded("globalUniqueSenders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ConversationType + */ + public function setLastDeliveryTime(\DateTime|string $value) + { + $this->lastDeliveryTime = $this->castValueIfNeeded("lastDeliveryTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ConversationType + */ + public function setGlobalLastDeliveryTime(\DateTime|string $value) + { + $this->globalLastDeliveryTime = $this->castValueIfNeeded("globalLastDeliveryTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setCategories(array $value) + { + $this->categories = $this->castValueIfNeeded("categories", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setGlobalCategories(array $value) + { + $this->globalCategories = $this->castValueIfNeeded("globalCategories", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationType + */ + public function setFlagStatus($value) + { + $this->flagStatus = $this->castValueIfNeeded("flagStatus", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationType + */ + public function setGlobalFlagStatus($value) + { + $this->globalFlagStatus = $this->castValueIfNeeded("globalFlagStatus", $value); + return $this; + } + + /** + * @returns bool + */ + public function isHasAttachments() + { + return ((bool) $this->hasAttachments); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ConversationType + */ + public function setHasAttachments($value) + { + $this->hasAttachments = $this->castValueIfNeeded("hasAttachments", $value); + return $this; + } + + /** + * @returns bool + */ + public function isGlobalHasAttachments() + { + return ((bool) $this->globalHasAttachments); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ConversationType + */ + public function setGlobalHasAttachments($value) + { + $this->globalHasAttachments = $this->castValueIfNeeded("globalHasAttachments", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setMessageCount($value) + { + $this->messageCount = $this->castValueIfNeeded("messageCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setGlobalMessageCount($value) + { + $this->globalMessageCount = $this->castValueIfNeeded("globalMessageCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setUnreadCount($value) + { + $this->unreadCount = $this->castValueIfNeeded("unreadCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setGlobalUnreadCount($value) + { + $this->globalUnreadCount = $this->castValueIfNeeded("globalUnreadCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setSize($value) + { + $this->size = $this->castValueIfNeeded("size", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ConversationType + */ + public function setGlobalSize($value) + { + $this->globalSize = $this->castValueIfNeeded("globalSize", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setItemClasses(array $value) + { + $this->itemClasses = $this->castValueIfNeeded("itemClasses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ConversationType + */ + public function setGlobalItemClasses(array $value) + { + $this->globalItemClasses = $this->castValueIfNeeded("globalItemClasses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationType + */ + public function setImportance($value) + { + $this->importance = $this->castValueIfNeeded("importance", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ConversationType + */ + public function setGlobalImportance($value) + { + $this->globalImportance = $this->castValueIfNeeded("globalImportance", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfBaseItemIdsType + * @return ConversationType + */ + public function setItemIds(NonEmptyArrayOfBaseItemIdsType $value) + { + $this->itemIds = $this->castValueIfNeeded("itemIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfBaseItemIdsType + * @return ConversationType + */ + public function setGlobalItemIds(NonEmptyArrayOfBaseItemIdsType $value) + { + $this->globalItemIds = $this->castValueIfNeeded("globalItemIds", $value); + return $this; + } } diff --git a/src/API/Type/CreateRuleOperationType.php b/src/API/Type/CreateRuleOperationType.php index c959ee30..368187ae 100644 --- a/src/API/Type/CreateRuleOperationType.php +++ b/src/API/Type/CreateRuleOperationType.php @@ -7,8 +7,6 @@ * * * XSD Type: CreateRuleOperationType - * - * @method CreateRuleOperationType setRule(RuleType $rule) */ class CreateRuleOperationType extends RuleOperationType { @@ -25,4 +23,15 @@ public function getRule() { return $this->rule; } + + /** + * @autogenerated This method is safe to replace + * @param $value RuleType + * @return CreateRuleOperationType + */ + public function setRule(RuleType $value) + { + $this->rule = $this->castValueIfNeeded("rule", $value); + return $this; + } } diff --git a/src/API/Type/DelegatePermissionsType.php b/src/API/Type/DelegatePermissionsType.php index 751b815e..b587c441 100644 --- a/src/API/Type/DelegatePermissionsType.php +++ b/src/API/Type/DelegatePermissionsType.php @@ -9,13 +9,6 @@ * * * XSD Type: DelegatePermissionsType - * - * @method DelegatePermissionsType setCalendarFolderPermissionLevel(string $calendarFolderPermissionLevel) - * @method DelegatePermissionsType setTasksFolderPermissionLevel(string $tasksFolderPermissionLevel) - * @method DelegatePermissionsType setInboxFolderPermissionLevel(string $inboxFolderPermissionLevel) - * @method DelegatePermissionsType setContactsFolderPermissionLevel(string $contactsFolderPermissionLevel) - * @method DelegatePermissionsType setNotesFolderPermissionLevel(string $notesFolderPermissionLevel) - * @method DelegatePermissionsType setJournalFolderPermissionLevel(string $journalFolderPermissionLevel) */ class DelegatePermissionsType extends Type { @@ -97,4 +90,70 @@ public function getJournalFolderPermissionLevel() { return $this->journalFolderPermissionLevel; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setCalendarFolderPermissionLevel($value) + { + $this->calendarFolderPermissionLevel = $this->castValueIfNeeded("calendarFolderPermissionLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setTasksFolderPermissionLevel($value) + { + $this->tasksFolderPermissionLevel = $this->castValueIfNeeded("tasksFolderPermissionLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setInboxFolderPermissionLevel($value) + { + $this->inboxFolderPermissionLevel = $this->castValueIfNeeded("inboxFolderPermissionLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setContactsFolderPermissionLevel($value) + { + $this->contactsFolderPermissionLevel = $this->castValueIfNeeded("contactsFolderPermissionLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setNotesFolderPermissionLevel($value) + { + $this->notesFolderPermissionLevel = $this->castValueIfNeeded("notesFolderPermissionLevel", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DelegatePermissionsType + */ + public function setJournalFolderPermissionLevel($value) + { + $this->journalFolderPermissionLevel = $this->castValueIfNeeded("journalFolderPermissionLevel", $value); + return $this; + } } diff --git a/src/API/Type/DelegateUserType.php b/src/API/Type/DelegateUserType.php index 555552a0..e89c1d31 100644 --- a/src/API/Type/DelegateUserType.php +++ b/src/API/Type/DelegateUserType.php @@ -9,11 +9,6 @@ * * * XSD Type: DelegateUserType - * - * @method DelegateUserType setUserId(UserIdType $userId) - * @method DelegateUserType setDelegatePermissions(DelegatePermissionsType $delegatePermissions) - * @method DelegateUserType setReceiveCopiesOfMeetingMessages(boolean $receiveCopiesOfMeetingMessages) - * @method DelegateUserType setViewPrivateItems(boolean $viewPrivateItems) */ class DelegateUserType extends Type { @@ -54,6 +49,44 @@ public function getDelegatePermissions() return $this->delegatePermissions; } + /** + * @return boolean + */ + public function getReceiveCopiesOfMeetingMessages() + { + return $this->receiveCopiesOfMeetingMessages; + } + + /** + * @return boolean + */ + public function getViewPrivateItems() + { + return $this->viewPrivateItems; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UserIdType + * @return DelegateUserType + */ + public function setUserId(UserIdType $value) + { + $this->userId = $this->castValueIfNeeded("userId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DelegatePermissionsType + * @return DelegateUserType + */ + public function setDelegatePermissions(DelegatePermissionsType $value) + { + $this->delegatePermissions = $this->castValueIfNeeded("delegatePermissions", $value); + return $this; + } + /** * @returns bool */ @@ -63,11 +96,14 @@ public function isReceiveCopiesOfMeetingMessages() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return DelegateUserType */ - public function getReceiveCopiesOfMeetingMessages() + public function setReceiveCopiesOfMeetingMessages($value) { - return $this->receiveCopiesOfMeetingMessages; + $this->receiveCopiesOfMeetingMessages = $this->castValueIfNeeded("receiveCopiesOfMeetingMessages", $value); + return $this; } /** @@ -79,10 +115,13 @@ public function isViewPrivateItems() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return DelegateUserType */ - public function getViewPrivateItems() + public function setViewPrivateItems($value) { - return $this->viewPrivateItems; + $this->viewPrivateItems = $this->castValueIfNeeded("viewPrivateItems", $value); + return $this; } } diff --git a/src/API/Type/DeleteRuleOperationType.php b/src/API/Type/DeleteRuleOperationType.php index ea89eb3b..06650be9 100644 --- a/src/API/Type/DeleteRuleOperationType.php +++ b/src/API/Type/DeleteRuleOperationType.php @@ -7,8 +7,6 @@ * * * XSD Type: DeleteRuleOperationType - * - * @method DeleteRuleOperationType setRuleId(string $ruleId) */ class DeleteRuleOperationType extends RuleOperationType { @@ -25,4 +23,15 @@ public function getRuleId() { return $this->ruleId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DeleteRuleOperationType + */ + public function setRuleId($value) + { + $this->ruleId = $this->castValueIfNeeded("ruleId", $value); + return $this; + } } diff --git a/src/API/Type/DeletedOccurrenceInfoType.php b/src/API/Type/DeletedOccurrenceInfoType.php index 05760225..c5ed5237 100644 --- a/src/API/Type/DeletedOccurrenceInfoType.php +++ b/src/API/Type/DeletedOccurrenceInfoType.php @@ -9,8 +9,6 @@ * * * XSD Type: DeletedOccurrenceInfoType - * - * @method DeletedOccurrenceInfoType setStart(\DateTime $start) */ class DeletedOccurrenceInfoType extends Type { @@ -31,4 +29,15 @@ public function getStart() { return $this->start; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return DeletedOccurrenceInfoType + */ + public function setStart(\DateTime|string $value) + { + $this->start = $this->castValueIfNeeded("start", $value); + return $this; + } } diff --git a/src/API/Type/DirectoryEntryType.php b/src/API/Type/DirectoryEntryType.php index 736914ee..4bd6430e 100644 --- a/src/API/Type/DirectoryEntryType.php +++ b/src/API/Type/DirectoryEntryType.php @@ -9,8 +9,6 @@ * * * XSD Type: DirectoryEntryType - * - * @method DirectoryEntryType setId(EmailAddressType $id) */ class DirectoryEntryType extends Type { @@ -27,4 +25,15 @@ public function getId() { return $this->id; } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return DirectoryEntryType + */ + public function setId(EmailAddressType $value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } } diff --git a/src/API/Type/DistinguishedFolderIdType.php b/src/API/Type/DistinguishedFolderIdType.php index 6ba472a1..b50eb4e8 100644 --- a/src/API/Type/DistinguishedFolderIdType.php +++ b/src/API/Type/DistinguishedFolderIdType.php @@ -7,10 +7,6 @@ * * Identifier for a distinguished folder * XSD Type: DistinguishedFolderIdType - * - * @method DistinguishedFolderIdType setId(string $id) - * @method DistinguishedFolderIdType setChangeKey(string $changeKey) - * @method DistinguishedFolderIdType setMailbox(EmailAddressType $mailbox) */ class DistinguishedFolderIdType extends BaseFolderIdType { @@ -71,4 +67,37 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistinguishedFolderIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistinguishedFolderIdType + */ + public function setChangeKey($value) + { + $this->changeKey = $this->castValueIfNeeded("changeKey", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return DistinguishedFolderIdType + */ + public function setMailbox(EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Type/DistinguishedGroupByType.php b/src/API/Type/DistinguishedGroupByType.php index fc66aeb9..91a57706 100644 --- a/src/API/Type/DistinguishedGroupByType.php +++ b/src/API/Type/DistinguishedGroupByType.php @@ -8,8 +8,6 @@ * Allows consumers to access standard groupings for FindItem queries. This is in * contrast to the arbitrary (custom) groupings available via the t:GroupByType * XSD Type: DistinguishedGroupByType - * - * @method DistinguishedGroupByType setStandardGroupBy(string $standardGroupBy) */ class DistinguishedGroupByType extends BaseGroupByType { @@ -26,4 +24,15 @@ public function getStandardGroupBy() { return $this->standardGroupBy; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistinguishedGroupByType + */ + public function setStandardGroupBy($value) + { + $this->standardGroupBy = $this->castValueIfNeeded("standardGroupBy", $value); + return $this; + } } diff --git a/src/API/Type/DistributionListType.php b/src/API/Type/DistributionListType.php index 931448ad..a6a3b207 100644 --- a/src/API/Type/DistributionListType.php +++ b/src/API/Type/DistributionListType.php @@ -8,11 +8,7 @@ * * XSD Type: DistributionListType * - * @method DistributionListType setDisplayName(string $displayName) - * @method DistributionListType setFileAs(string $fileAs) - * @method DistributionListType setContactSource(string $contactSource) * @method DistributionListType addMembers(MemberType $members) - * @method DistributionListType setMembers(array $members) */ class DistributionListType extends ItemType { @@ -68,4 +64,48 @@ public function getMembers() { return $this->members; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistributionListType + */ + public function setDisplayName($value) + { + $this->displayName = $this->castValueIfNeeded("displayName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistributionListType + */ + public function setFileAs($value) + { + $this->fileAs = $this->castValueIfNeeded("fileAs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return DistributionListType + */ + public function setContactSource($value) + { + $this->contactSource = $this->castValueIfNeeded("contactSource", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MemberType[] + * @return DistributionListType + */ + public function setMembers(array $value) + { + $this->members = $this->castValueIfNeeded("members", $value); + return $this; + } } diff --git a/src/API/Type/DurationType.php b/src/API/Type/DurationType.php index 521ea742..0d886fa4 100644 --- a/src/API/Type/DurationType.php +++ b/src/API/Type/DurationType.php @@ -9,9 +9,6 @@ * * * XSD Type: Duration - * - * @method DurationType setStartTime(\DateTime $startTime) - * @method DurationType setEndTime(\DateTime $endTime) */ class DurationType extends Type { @@ -46,4 +43,26 @@ public function getEndTime() { return $this->endTime; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return DurationType + */ + public function setStartTime(\DateTime|string $value) + { + $this->startTime = $this->castValueIfNeeded("startTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return DurationType + */ + public function setEndTime(\DateTime|string $value) + { + $this->endTime = $this->castValueIfNeeded("endTime", $value); + return $this; + } } diff --git a/src/API/Type/EffectiveRightsType.php b/src/API/Type/EffectiveRightsType.php index ccf7ef28..b817499a 100644 --- a/src/API/Type/EffectiveRightsType.php +++ b/src/API/Type/EffectiveRightsType.php @@ -9,14 +9,6 @@ * * * XSD Type: EffectiveRightsType - * - * @method EffectiveRightsType setCreateAssociated(boolean $createAssociated) - * @method EffectiveRightsType setCreateContents(boolean $createContents) - * @method EffectiveRightsType setCreateHierarchy(boolean $createHierarchy) - * @method EffectiveRightsType setDelete(boolean $delete) - * @method EffectiveRightsType setModify(boolean $modify) - * @method EffectiveRightsType setRead(boolean $read) - * @method EffectiveRightsType setViewPrivateItems(boolean $viewPrivateItems) */ class EffectiveRightsType extends Type { @@ -56,6 +48,62 @@ class EffectiveRightsType extends Type */ protected $viewPrivateItems = null; + /** + * @return boolean + */ + public function getCreateAssociated() + { + return $this->createAssociated; + } + + /** + * @return boolean + */ + public function getCreateContents() + { + return $this->createContents; + } + + /** + * @return boolean + */ + public function getCreateHierarchy() + { + return $this->createHierarchy; + } + + /** + * @return boolean + */ + public function getDelete() + { + return $this->delete; + } + + /** + * @return boolean + */ + public function getModify() + { + return $this->modify; + } + + /** + * @return boolean + */ + public function getRead() + { + return $this->read; + } + + /** + * @return boolean + */ + public function getViewPrivateItems() + { + return $this->viewPrivateItems; + } + /** * @returns bool */ @@ -65,11 +113,14 @@ public function isCreateAssociated() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getCreateAssociated() + public function setCreateAssociated($value) { - return $this->createAssociated; + $this->createAssociated = $this->castValueIfNeeded("createAssociated", $value); + return $this; } /** @@ -81,11 +132,14 @@ public function isCreateContents() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getCreateContents() + public function setCreateContents($value) { - return $this->createContents; + $this->createContents = $this->castValueIfNeeded("createContents", $value); + return $this; } /** @@ -97,11 +151,14 @@ public function isCreateHierarchy() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getCreateHierarchy() + public function setCreateHierarchy($value) { - return $this->createHierarchy; + $this->createHierarchy = $this->castValueIfNeeded("createHierarchy", $value); + return $this; } /** @@ -113,11 +170,14 @@ public function isDelete() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getDelete() + public function setDelete($value) { - return $this->delete; + $this->delete = $this->castValueIfNeeded("delete", $value); + return $this; } /** @@ -129,11 +189,14 @@ public function isModify() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getModify() + public function setModify($value) { - return $this->modify; + $this->modify = $this->castValueIfNeeded("modify", $value); + return $this; } /** @@ -145,11 +208,14 @@ public function isRead() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getRead() + public function setRead($value) { - return $this->read; + $this->read = $this->castValueIfNeeded("read", $value); + return $this; } /** @@ -161,10 +227,13 @@ public function isViewPrivateItems() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return EffectiveRightsType */ - public function getViewPrivateItems() + public function setViewPrivateItems($value) { - return $this->viewPrivateItems; + $this->viewPrivateItems = $this->castValueIfNeeded("viewPrivateItems", $value); + return $this; } } diff --git a/src/API/Type/EmailAddressDictionaryEntryType.php b/src/API/Type/EmailAddressDictionaryEntryType.php index cb5005db..6a83147a 100644 --- a/src/API/Type/EmailAddressDictionaryEntryType.php +++ b/src/API/Type/EmailAddressDictionaryEntryType.php @@ -9,11 +9,6 @@ * * * XSD Type: EmailAddressDictionaryEntryType - * - * @method EmailAddressDictionaryEntryType setKey(string $key) - * @method EmailAddressDictionaryEntryType setName(string $name) - * @method EmailAddressDictionaryEntryType setRoutingType(string $routingType) - * @method EmailAddressDictionaryEntryType setMailboxType(string $mailboxType) */ class EmailAddressDictionaryEntryType extends Type { @@ -69,4 +64,48 @@ public function getMailboxType() { return $this->mailboxType; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressDictionaryEntryType + */ + public function setKey($value) + { + $this->key = $this->castValueIfNeeded("key", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressDictionaryEntryType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressDictionaryEntryType + */ + public function setRoutingType($value) + { + $this->routingType = $this->castValueIfNeeded("routingType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressDictionaryEntryType + */ + public function setMailboxType($value) + { + $this->mailboxType = $this->castValueIfNeeded("mailboxType", $value); + return $this; + } } diff --git a/src/API/Type/EmailAddressType.php b/src/API/Type/EmailAddressType.php index 585d49db..4532fcfe 100644 --- a/src/API/Type/EmailAddressType.php +++ b/src/API/Type/EmailAddressType.php @@ -7,12 +7,6 @@ * * Identifier for a fully resolved email address * XSD Type: EmailAddressType - * - * @method EmailAddressType setName(string $name) - * @method EmailAddressType setEmailAddress(string $emailAddress) - * @method EmailAddressType setRoutingType(string $routingType) - * @method EmailAddressType setMailboxType(string $mailboxType) - * @method EmailAddressType setItemId(ItemIdType $itemId) */ class EmailAddressType extends BaseEmailAddressType { @@ -81,4 +75,59 @@ public function getItemId() { return $this->itemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressType + */ + public function setEmailAddress($value) + { + $this->emailAddress = $this->castValueIfNeeded("emailAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressType + */ + public function setRoutingType($value) + { + $this->routingType = $this->castValueIfNeeded("routingType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return EmailAddressType + */ + public function setMailboxType($value) + { + $this->mailboxType = $this->castValueIfNeeded("mailboxType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return EmailAddressType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } } diff --git a/src/API/Type/EncryptedSharedFolderDataType.php b/src/API/Type/EncryptedSharedFolderDataType.php index f3a1ea04..8a5c5a14 100644 --- a/src/API/Type/EncryptedSharedFolderDataType.php +++ b/src/API/Type/EncryptedSharedFolderDataType.php @@ -9,9 +9,6 @@ * * * XSD Type: EncryptedSharedFolderDataType - * - * @method EncryptedSharedFolderDataType setToken(EncryptedDataContainerType $token) - * @method EncryptedSharedFolderDataType setData(EncryptedDataContainerType $data) */ class EncryptedSharedFolderDataType extends Type { @@ -41,4 +38,26 @@ public function getData() { return $this->data; } + + /** + * @autogenerated This method is safe to replace + * @param $value EncryptedDataContainerType + * @return EncryptedSharedFolderDataType + */ + public function setToken(EncryptedDataContainerType $value) + { + $this->token = $this->castValueIfNeeded("token", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EncryptedDataContainerType + * @return EncryptedSharedFolderDataType + */ + public function setData(EncryptedDataContainerType $value) + { + $this->data = $this->castValueIfNeeded("data", $value); + return $this; + } } diff --git a/src/API/Type/EndDateRecurrenceRangeType.php b/src/API/Type/EndDateRecurrenceRangeType.php index 1e1d15de..2aadf34f 100644 --- a/src/API/Type/EndDateRecurrenceRangeType.php +++ b/src/API/Type/EndDateRecurrenceRangeType.php @@ -7,8 +7,6 @@ * * * XSD Type: EndDateRecurrenceRangeType - * - * @method EndDateRecurrenceRangeType setEndDate(\DateTime $endDate) */ class EndDateRecurrenceRangeType extends RecurrenceRangeBaseType { @@ -29,4 +27,15 @@ public function getEndDate() { return $this->endDate; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return EndDateRecurrenceRangeType + */ + public function setEndDate(\DateTime|string $value) + { + $this->endDate = $this->castValueIfNeeded("endDate", $value); + return $this; + } } diff --git a/src/API/Type/ExchangeImpersonationType.php b/src/API/Type/ExchangeImpersonationType.php index 44bdd3be..40a9329a 100644 --- a/src/API/Type/ExchangeImpersonationType.php +++ b/src/API/Type/ExchangeImpersonationType.php @@ -9,8 +9,6 @@ * * * XSD Type: ExchangeImpersonationType - * - * @method ExchangeImpersonationType setConnectingSID(ConnectingSIDType $connectingSID) */ class ExchangeImpersonationType extends Type { @@ -37,4 +35,15 @@ public function getConnectingSID() { return $this->connectingSID; } + + /** + * @autogenerated This method is safe to replace + * @param $value ConnectingSIDType + * @return ExchangeImpersonationType + */ + public function setConnectingSID(ConnectingSIDType $value) + { + $this->connectingSID = $this->castValueIfNeeded("connectingSID", $value); + return $this; + } } diff --git a/src/API/Type/ExcludesType.php b/src/API/Type/ExcludesType.php index 520dcd1b..c085b3b9 100644 --- a/src/API/Type/ExcludesType.php +++ b/src/API/Type/ExcludesType.php @@ -9,12 +9,8 @@ * XSD Type: ExcludesType * * @method ExcludesType addFieldURI(FieldURI $fieldURI) - * @method ExcludesType setFieldURI(array $fieldURI) * @method ExcludesType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method ExcludesType setIndexedFieldURI(array $indexedFieldURI) * @method ExcludesType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method ExcludesType setExtendedFieldURI(array $extendedFieldURI) - * @method ExcludesType setBitmask(ExcludesValueType $bitmask) */ class ExcludesType extends SearchExpressionType { @@ -70,4 +66,48 @@ public function getBitmask() { return $this->bitmask; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return ExcludesType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return ExcludesType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return ExcludesType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExcludesValueType + * @return ExcludesType + */ + public function setBitmask(ExcludesValueType $value) + { + $this->bitmask = $this->castValueIfNeeded("bitmask", $value); + return $this; + } } diff --git a/src/API/Type/ExcludesValueType.php b/src/API/Type/ExcludesValueType.php index c89ffcd1..a5f389c9 100644 --- a/src/API/Type/ExcludesValueType.php +++ b/src/API/Type/ExcludesValueType.php @@ -9,8 +9,6 @@ * * * XSD Type: ExcludesValueType - * - * @method ExcludesValueType setValue(string $value) */ class ExcludesValueType extends Type { @@ -27,4 +25,15 @@ public function getValue() { return $this->value; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ExcludesValueType + */ + public function setValue($value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } } diff --git a/src/API/Type/ExistsType.php b/src/API/Type/ExistsType.php index ee1dd6ad..b0e816e5 100644 --- a/src/API/Type/ExistsType.php +++ b/src/API/Type/ExistsType.php @@ -9,11 +9,8 @@ * XSD Type: ExistsType * * @method ExistsType addFieldURI(FieldURI $fieldURI) - * @method ExistsType setFieldURI(array $fieldURI) * @method ExistsType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method ExistsType setIndexedFieldURI(array $indexedFieldURI) * @method ExistsType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method ExistsType setExtendedFieldURI(array $extendedFieldURI) */ class ExistsType extends SearchExpressionType { @@ -56,4 +53,37 @@ public function getExtendedFieldURI() { return $this->extendedFieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return ExistsType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return ExistsType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return ExistsType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } } diff --git a/src/API/Type/ExtendedPropertyType.php b/src/API/Type/ExtendedPropertyType.php index cffa5422..fed43f87 100644 --- a/src/API/Type/ExtendedPropertyType.php +++ b/src/API/Type/ExtendedPropertyType.php @@ -11,10 +11,7 @@ * associated value). * XSD Type: ExtendedPropertyType * - * @method ExtendedPropertyType setExtendedFieldURI(PathToExtendedFieldType $extendedFieldURI) - * @method ExtendedPropertyType setValue(string $value) * @method ExtendedPropertyType addValues(string $values) - * @method ExtendedPropertyType setValues(array $values) */ class ExtendedPropertyType extends Type { @@ -57,4 +54,37 @@ public function getValues() { return $this->values; } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToExtendedFieldType + * @return ExtendedPropertyType + */ + public function setExtendedFieldURI(PathToExtendedFieldType $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ExtendedPropertyType + */ + public function setValue($value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ExtendedPropertyType + */ + public function setValues(array $value) + { + $this->values = $this->castValueIfNeeded("values", $value); + return $this; + } } diff --git a/src/API/Type/FieldOrderType.php b/src/API/Type/FieldOrderType.php index aaf9a86d..41d21261 100644 --- a/src/API/Type/FieldOrderType.php +++ b/src/API/Type/FieldOrderType.php @@ -10,13 +10,9 @@ * * XSD Type: FieldOrderType * - * @method FieldOrderType setOrder(string $order) * @method FieldOrderType addFieldURI(FieldURI $fieldURI) - * @method FieldOrderType setFieldURI(array $fieldURI) * @method FieldOrderType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method FieldOrderType setIndexedFieldURI(array $indexedFieldURI) * @method FieldOrderType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method FieldOrderType setExtendedFieldURI(array $extendedFieldURI) */ class FieldOrderType extends Type { @@ -72,4 +68,48 @@ public function getExtendedFieldURI() { return $this->extendedFieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FieldOrderType + */ + public function setOrder($value) + { + $this->order = $this->castValueIfNeeded("order", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return FieldOrderType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return FieldOrderType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return FieldOrderType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } } diff --git a/src/API/Type/FieldURIOrConstantType.php b/src/API/Type/FieldURIOrConstantType.php index 6f1c6063..cf58f033 100644 --- a/src/API/Type/FieldURIOrConstantType.php +++ b/src/API/Type/FieldURIOrConstantType.php @@ -9,11 +9,6 @@ * * * XSD Type: FieldURIOrConstantType - * - * @method FieldURIOrConstantType setFieldURI(FieldURI $fieldURI) - * @method FieldURIOrConstantType setIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method FieldURIOrConstantType setExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method FieldURIOrConstantType setConstant(ConstantValueType $constant) */ class FieldURIOrConstantType extends Type { @@ -69,4 +64,48 @@ public function getConstant() { return $this->constant; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI + * @return FieldURIOrConstantType + */ + public function setFieldURI(FieldURI $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI + * @return FieldURIOrConstantType + */ + public function setIndexedFieldURI(IndexedFieldURI $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI + * @return FieldURIOrConstantType + */ + public function setExtendedFieldURI(ExtendedFieldURI $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ConstantValueType + * @return FieldURIOrConstantType + */ + public function setConstant(ConstantValueType $value) + { + $this->constant = $this->castValueIfNeeded("constant", $value); + return $this; + } } diff --git a/src/API/Type/FileAttachmentType.php b/src/API/Type/FileAttachmentType.php index e6fa0ff9..db16c28f 100644 --- a/src/API/Type/FileAttachmentType.php +++ b/src/API/Type/FileAttachmentType.php @@ -7,9 +7,6 @@ * * * XSD Type: FileAttachmentType - * - * @method FileAttachmentType setIsContactPhoto(boolean $isContactPhoto) - * @method FileAttachmentType setContent(string $content) */ class FileAttachmentType extends AttachmentType { @@ -24,6 +21,22 @@ class FileAttachmentType extends AttachmentType */ protected $content = null; + /** + * @return boolean + */ + public function getIsContactPhoto() + { + return $this->isContactPhoto; + } + + /** + * @return string + */ + public function getContent() + { + return $this->content; + } + /** * @returns bool */ @@ -33,18 +46,24 @@ public function isContactPhoto() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return FileAttachmentType */ - public function getIsContactPhoto() + public function setIsContactPhoto($value) { - return $this->isContactPhoto; + $this->isContactPhoto = $this->castValueIfNeeded("isContactPhoto", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return FileAttachmentType */ - public function getContent() + public function setContent($value) { - return $this->content; + $this->content = $this->castValueIfNeeded("content", $value); + return $this; } } diff --git a/src/API/Type/FindFolderParentType.php b/src/API/Type/FindFolderParentType.php index eaa878c0..dd61bb91 100644 --- a/src/API/Type/FindFolderParentType.php +++ b/src/API/Type/FindFolderParentType.php @@ -14,13 +14,6 @@ * * * XSD Type: FindFolderParentType - * - * @method FindFolderParentType setIndexedPagingOffset(integer $indexedPagingOffset) - * @method FindFolderParentType setNumeratorOffset(integer $numeratorOffset) - * @method FindFolderParentType setAbsoluteDenominator(integer $absoluteDenominator) - * @method FindFolderParentType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method FindFolderParentType setTotalItemsInView(integer $totalItemsInView) - * @method FindFolderParentType setFolders(ArrayOfFoldersType $folders) */ class FindFolderParentType extends Type implements Countable, ArrayAccess, IteratorAggregate { @@ -151,14 +144,6 @@ public function getAbsoluteDenominator() return $this->absoluteDenominator; } - /** - * @returns bool - */ - public function isIncludesLastItemInRange() - { - return ((bool) $this->includesLastItemInRange); - } - /** * @return boolean */ @@ -182,4 +167,78 @@ public function getFolders() { return $this->folders; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindFolderParentType + */ + public function setIndexedPagingOffset($value) + { + $this->indexedPagingOffset = $this->castValueIfNeeded("indexedPagingOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindFolderParentType + */ + public function setNumeratorOffset($value) + { + $this->numeratorOffset = $this->castValueIfNeeded("numeratorOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindFolderParentType + */ + public function setAbsoluteDenominator($value) + { + $this->absoluteDenominator = $this->castValueIfNeeded("absoluteDenominator", $value); + return $this; + } + + /** + * @returns bool + */ + public function isIncludesLastItemInRange() + { + return ((bool) $this->includesLastItemInRange); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return FindFolderParentType + */ + public function setIncludesLastItemInRange($value) + { + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindFolderParentType + */ + public function setTotalItemsInView($value) + { + $this->totalItemsInView = $this->castValueIfNeeded("totalItemsInView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfFoldersType + * @return FindFolderParentType + */ + public function setFolders(ArrayOfFoldersType $value) + { + $this->folders = $this->castValueIfNeeded("folders", $value); + return $this; + } } diff --git a/src/API/Type/FindItemParentType.php b/src/API/Type/FindItemParentType.php index f77b0a2f..10f5ee9f 100644 --- a/src/API/Type/FindItemParentType.php +++ b/src/API/Type/FindItemParentType.php @@ -15,14 +15,7 @@ * * XSD Type: FindItemParentType * - * @method FindItemParentType setIndexedPagingOffset(integer $indexedPagingOffset) - * @method FindItemParentType setNumeratorOffset(integer $numeratorOffset) - * @method FindItemParentType setAbsoluteDenominator(integer $absoluteDenominator) - * @method FindItemParentType setIncludesLastItemInRange(boolean $includesLastItemInRange) - * @method FindItemParentType setTotalItemsInView(integer $totalItemsInView) - * @method FindItemParentType setItems(ArrayOfRealItemsType $items) * @method FindItemParentType addGroups(GroupedItemsType $groups) - * @method FindItemParentType setGroups(array $groups) */ class FindItemParentType extends Type implements Countable, ArrayAccess, IteratorAggregate { @@ -164,14 +157,6 @@ public function getAbsoluteDenominator() return $this->absoluteDenominator; } - /** - * @returns bool - */ - public function isIncludesLastItemInRange() - { - return ((bool) $this->includesLastItemInRange); - } - /** * @return boolean */ @@ -203,4 +188,89 @@ public function getGroups() { return $this->groups; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindItemParentType + */ + public function setIndexedPagingOffset($value) + { + $this->indexedPagingOffset = $this->castValueIfNeeded("indexedPagingOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindItemParentType + */ + public function setNumeratorOffset($value) + { + $this->numeratorOffset = $this->castValueIfNeeded("numeratorOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindItemParentType + */ + public function setAbsoluteDenominator($value) + { + $this->absoluteDenominator = $this->castValueIfNeeded("absoluteDenominator", $value); + return $this; + } + + /** + * @returns bool + */ + public function isIncludesLastItemInRange() + { + return ((bool) $this->includesLastItemInRange); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return FindItemParentType + */ + public function setIncludesLastItemInRange($value) + { + $this->includesLastItemInRange = $this->castValueIfNeeded("includesLastItemInRange", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FindItemParentType + */ + public function setTotalItemsInView($value) + { + $this->totalItemsInView = $this->castValueIfNeeded("totalItemsInView", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfRealItemsType + * @return FindItemParentType + */ + public function setItems(ArrayOfRealItemsType $value) + { + $this->items = $this->castValueIfNeeded("items", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value GroupedItemsType[] + * @return FindItemParentType + */ + public function setGroups(array $value) + { + $this->groups = $this->castValueIfNeeded("groups", $value); + return $this; + } } diff --git a/src/API/Type/FindMessageTrackingSearchResultType.php b/src/API/Type/FindMessageTrackingSearchResultType.php index a721067c..daca6faa 100644 --- a/src/API/Type/FindMessageTrackingSearchResultType.php +++ b/src/API/Type/FindMessageTrackingSearchResultType.php @@ -10,17 +10,8 @@ * * XSD Type: FindMessageTrackingSearchResultType * - * @method FindMessageTrackingSearchResultType setSubject(string $subject) - * @method FindMessageTrackingSearchResultType setSender(EmailAddressType $sender) - * @method FindMessageTrackingSearchResultType setPurportedSender(EmailAddressType $purportedSender) * @method FindMessageTrackingSearchResultType addRecipients(EmailAddressType $recipients) - * @method FindMessageTrackingSearchResultType setRecipients(array $recipients) - * @method FindMessageTrackingSearchResultType setSubmittedTime(\DateTime $submittedTime) - * @method FindMessageTrackingSearchResultType setMessageTrackingReportId(string $messageTrackingReportId) - * @method FindMessageTrackingSearchResultType setPreviousHopServer(string $previousHopServer) - * @method FindMessageTrackingSearchResultType setFirstHopServer(string $firstHopServer) * @method FindMessageTrackingSearchResultType addProperties(TrackingPropertyType $properties) - * @method FindMessageTrackingSearchResultType setProperties(array $properties) */ class FindMessageTrackingSearchResultType extends Type { @@ -145,4 +136,103 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingSearchResultType + */ + public function setSubject($value) + { + $this->subject = $this->castValueIfNeeded("subject", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return FindMessageTrackingSearchResultType + */ + public function setSender(EmailAddressType $value) + { + $this->sender = $this->castValueIfNeeded("sender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return FindMessageTrackingSearchResultType + */ + public function setPurportedSender(EmailAddressType $value) + { + $this->purportedSender = $this->castValueIfNeeded("purportedSender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return FindMessageTrackingSearchResultType + */ + public function setRecipients(array $value) + { + $this->recipients = $this->castValueIfNeeded("recipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return FindMessageTrackingSearchResultType + */ + public function setSubmittedTime(\DateTime|string $value) + { + $this->submittedTime = $this->castValueIfNeeded("submittedTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingSearchResultType + */ + public function setMessageTrackingReportId($value) + { + $this->messageTrackingReportId = $this->castValueIfNeeded("messageTrackingReportId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingSearchResultType + */ + public function setPreviousHopServer($value) + { + $this->previousHopServer = $this->castValueIfNeeded("previousHopServer", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FindMessageTrackingSearchResultType + */ + public function setFirstHopServer($value) + { + $this->firstHopServer = $this->castValueIfNeeded("firstHopServer", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TrackingPropertyType[] + * @return FindMessageTrackingSearchResultType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Type/FolderChangeType.php b/src/API/Type/FolderChangeType.php index 1fb89141..bacf134b 100644 --- a/src/API/Type/FolderChangeType.php +++ b/src/API/Type/FolderChangeType.php @@ -9,10 +9,6 @@ * * * XSD Type: FolderChangeType - * - * @method FolderChangeType setFolderId(FolderIdType $folderId) - * @method FolderChangeType setDistinguishedFolderId(DistinguishedFolderIdType $distinguishedFolderId) - * @method FolderChangeType setUpdates(NonEmptyArrayOfFolderChangeDescriptionsType $updates) */ class FolderChangeType extends Type { @@ -55,4 +51,37 @@ public function getUpdates() { return $this->updates; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return FolderChangeType + */ + public function setFolderId(FolderIdType $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistinguishedFolderIdType + * @return FolderChangeType + */ + public function setDistinguishedFolderId(DistinguishedFolderIdType $value) + { + $this->distinguishedFolderId = $this->castValueIfNeeded("distinguishedFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfFolderChangeDescriptionsType + * @return FolderChangeType + */ + public function setUpdates(NonEmptyArrayOfFolderChangeDescriptionsType $value) + { + $this->updates = $this->castValueIfNeeded("updates", $value); + return $this; + } } diff --git a/src/API/Type/FolderIdType.php b/src/API/Type/FolderIdType.php index 67ad4f6a..d6a88cbc 100644 --- a/src/API/Type/FolderIdType.php +++ b/src/API/Type/FolderIdType.php @@ -7,9 +7,6 @@ * * Identifier for a fully resolved folder * XSD Type: FolderIdType - * - * @method FolderIdType setId(string $id) - * @method FolderIdType setChangeKey(string $changeKey) */ class FolderIdType extends BaseFolderIdType { @@ -56,4 +53,26 @@ public function getChangeKey() { return $this->changeKey; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FolderIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FolderIdType + */ + public function setChangeKey($value) + { + $this->changeKey = $this->castValueIfNeeded("changeKey", $value); + return $this; + } } diff --git a/src/API/Type/FolderResponseShapeType.php b/src/API/Type/FolderResponseShapeType.php index 2a7a88e5..8c10b714 100644 --- a/src/API/Type/FolderResponseShapeType.php +++ b/src/API/Type/FolderResponseShapeType.php @@ -9,9 +9,6 @@ * * * XSD Type: FolderResponseShapeType - * - * @method FolderResponseShapeType setBaseShape(string $baseShape) - * @method FolderResponseShapeType setAdditionalProperties(NonEmptyArrayOfPathsToElementType $additionalProperties) */ class FolderResponseShapeType extends Type { @@ -41,4 +38,26 @@ public function getAdditionalProperties() { return $this->additionalProperties; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FolderResponseShapeType + */ + public function setBaseShape($value) + { + $this->baseShape = $this->castValueIfNeeded("baseShape", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfPathsToElementType + * @return FolderResponseShapeType + */ + public function setAdditionalProperties(NonEmptyArrayOfPathsToElementType $value) + { + $this->additionalProperties = $this->castValueIfNeeded("additionalProperties", $value); + return $this; + } } diff --git a/src/API/Type/FolderType.php b/src/API/Type/FolderType.php index 6b1da13e..84702299 100644 --- a/src/API/Type/FolderType.php +++ b/src/API/Type/FolderType.php @@ -7,9 +7,6 @@ * * * XSD Type: FolderType - * - * @method FolderType setPermissionSet(PermissionSetType $permissionSet) - * @method FolderType setUnreadCount(integer $unreadCount) */ class FolderType extends BaseFolderType { @@ -39,4 +36,26 @@ public function getUnreadCount() { return $this->unreadCount; } + + /** + * @autogenerated This method is safe to replace + * @param $value PermissionSetType + * @return FolderType + */ + public function setPermissionSet(PermissionSetType $value) + { + $this->permissionSet = $this->castValueIfNeeded("permissionSet", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FolderType + */ + public function setUnreadCount($value) + { + $this->unreadCount = $this->castValueIfNeeded("unreadCount", $value); + return $this; + } } diff --git a/src/API/Type/FractionalPageViewType.php b/src/API/Type/FractionalPageViewType.php index d9dc14de..e52047f7 100644 --- a/src/API/Type/FractionalPageViewType.php +++ b/src/API/Type/FractionalPageViewType.php @@ -7,9 +7,6 @@ * * * XSD Type: FractionalPageViewType - * - * @method FractionalPageViewType setNumerator(integer $numerator) - * @method FractionalPageViewType setDenominator(integer $denominator) */ class FractionalPageViewType extends BasePagingType { @@ -39,4 +36,26 @@ public function getDenominator() { return $this->denominator; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FractionalPageViewType + */ + public function setNumerator($value) + { + $this->numerator = $this->castValueIfNeeded("numerator", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FractionalPageViewType + */ + public function setDenominator($value) + { + $this->denominator = $this->castValueIfNeeded("denominator", $value); + return $this; + } } diff --git a/src/API/Type/FreeBusyViewOptionsType.php b/src/API/Type/FreeBusyViewOptionsType.php index 10fd63c8..d538ecbd 100644 --- a/src/API/Type/FreeBusyViewOptionsType.php +++ b/src/API/Type/FreeBusyViewOptionsType.php @@ -10,10 +10,7 @@ * * XSD Type: FreeBusyViewOptionsType * - * @method FreeBusyViewOptionsType setTimeWindow(DurationType $timeWindow) - * @method FreeBusyViewOptionsType setMergedFreeBusyIntervalInMinutes(integer $mergedFreeBusyIntervalInMinutes) * @method FreeBusyViewOptionsType addRequestedView(string $requestedView) - * @method FreeBusyViewOptionsType setRequestedView(array $requestedView) */ class FreeBusyViewOptionsType extends Type { @@ -56,4 +53,37 @@ public function getRequestedView() { return $this->requestedView; } + + /** + * @autogenerated This method is safe to replace + * @param $value DurationType + * @return FreeBusyViewOptionsType + */ + public function setTimeWindow(DurationType $value) + { + $this->timeWindow = $this->castValueIfNeeded("timeWindow", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return FreeBusyViewOptionsType + */ + public function setMergedFreeBusyIntervalInMinutes($value) + { + $this->mergedFreeBusyIntervalInMinutes = $this->castValueIfNeeded("mergedFreeBusyIntervalInMinutes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FreeBusyViewOptionsType + */ + public function setRequestedView(array $value) + { + $this->requestedView = $this->castValueIfNeeded("requestedView", $value); + return $this; + } } diff --git a/src/API/Type/FreeBusyViewType.php b/src/API/Type/FreeBusyViewType.php index 821c3643..980aaae8 100644 --- a/src/API/Type/FreeBusyViewType.php +++ b/src/API/Type/FreeBusyViewType.php @@ -11,11 +11,7 @@ * XSD Type: FreeBusyView * * @method FreeBusyViewType addFreeBusyViewType(string $freeBusyViewType) - * @method FreeBusyViewType setFreeBusyViewType(array $freeBusyViewType) - * @method FreeBusyViewType setMergedFreeBusy(string $mergedFreeBusy) * @method FreeBusyViewType addCalendarEventArray(CalendarEventType $calendarEventArray) - * @method FreeBusyViewType setCalendarEventArray(array $calendarEventArray) - * @method FreeBusyViewType setWorkingHours(WorkingHoursType $workingHours) */ class FreeBusyViewType extends Type { @@ -71,4 +67,48 @@ public function getWorkingHours() { return $this->workingHours; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return FreeBusyViewType + */ + public function setFreeBusyViewType(array $value) + { + $this->freeBusyViewType = $this->castValueIfNeeded("freeBusyViewType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return FreeBusyViewType + */ + public function setMergedFreeBusy($value) + { + $this->mergedFreeBusy = $this->castValueIfNeeded("mergedFreeBusy", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarEventType[] + * @return FreeBusyViewType + */ + public function setCalendarEventArray(array $value) + { + $this->calendarEventArray = $this->castValueIfNeeded("calendarEventArray", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value WorkingHoursType + * @return FreeBusyViewType + */ + public function setWorkingHours(WorkingHoursType $value) + { + $this->workingHours = $this->castValueIfNeeded("workingHours", $value); + return $this; + } } diff --git a/src/API/Type/GroupAttendeeConflictDataType.php b/src/API/Type/GroupAttendeeConflictDataType.php index b6dc6813..3f9a91ad 100644 --- a/src/API/Type/GroupAttendeeConflictDataType.php +++ b/src/API/Type/GroupAttendeeConflictDataType.php @@ -7,11 +7,6 @@ * * * XSD Type: GroupAttendeeConflictData - * - * @method GroupAttendeeConflictDataType setNumberOfMembers(integer $numberOfMembers) - * @method GroupAttendeeConflictDataType setNumberOfMembersAvailable(integer $numberOfMembersAvailable) - * @method GroupAttendeeConflictDataType setNumberOfMembersWithConflict(integer $numberOfMembersWithConflict) - * @method GroupAttendeeConflictDataType setNumberOfMembersWithNoData(integer $numberOfMembersWithNoData) */ class GroupAttendeeConflictDataType extends AttendeeConflictDataType { @@ -67,4 +62,48 @@ public function getNumberOfMembersWithNoData() { return $this->numberOfMembersWithNoData; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return GroupAttendeeConflictDataType + */ + public function setNumberOfMembers($value) + { + $this->numberOfMembers = $this->castValueIfNeeded("numberOfMembers", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return GroupAttendeeConflictDataType + */ + public function setNumberOfMembersAvailable($value) + { + $this->numberOfMembersAvailable = $this->castValueIfNeeded("numberOfMembersAvailable", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return GroupAttendeeConflictDataType + */ + public function setNumberOfMembersWithConflict($value) + { + $this->numberOfMembersWithConflict = $this->castValueIfNeeded("numberOfMembersWithConflict", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return GroupAttendeeConflictDataType + */ + public function setNumberOfMembersWithNoData($value) + { + $this->numberOfMembersWithNoData = $this->castValueIfNeeded("numberOfMembersWithNoData", $value); + return $this; + } } diff --git a/src/API/Type/GroupByType.php b/src/API/Type/GroupByType.php index f0c56865..f48b37f3 100644 --- a/src/API/Type/GroupByType.php +++ b/src/API/Type/GroupByType.php @@ -7,11 +7,6 @@ * * Allows consumers to specify arbitrary groupings for FindItem queries. * XSD Type: GroupByType - * - * @method GroupByType setFieldURI(PathToUnindexedFieldType $fieldURI) - * @method GroupByType setIndexedFieldURI(PathToIndexedFieldType $indexedFieldURI) - * @method GroupByType setExtendedFieldURI(PathToExtendedFieldType $extendedFieldURI) - * @method GroupByType setAggregateOn(AggregateOnType $aggregateOn) */ class GroupByType extends BaseGroupByType { @@ -67,4 +62,48 @@ public function getAggregateOn() { return $this->aggregateOn; } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToUnindexedFieldType + * @return GroupByType + */ + public function setFieldURI(PathToUnindexedFieldType $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToIndexedFieldType + * @return GroupByType + */ + public function setIndexedFieldURI(PathToIndexedFieldType $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PathToExtendedFieldType + * @return GroupByType + */ + public function setExtendedFieldURI(PathToExtendedFieldType $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AggregateOnType + * @return GroupByType + */ + public function setAggregateOn(AggregateOnType $value) + { + $this->aggregateOn = $this->castValueIfNeeded("aggregateOn", $value); + return $this; + } } diff --git a/src/API/Type/GroupedItemsType.php b/src/API/Type/GroupedItemsType.php index db6bc1ee..98aac2e4 100644 --- a/src/API/Type/GroupedItemsType.php +++ b/src/API/Type/GroupedItemsType.php @@ -12,9 +12,6 @@ * * * XSD Type: GroupedItemsType - * - * @method GroupedItemsType setGroupIndex(string $groupIndex) - * @method GroupedItemsType setItems(ArrayOfRealItemsType $items) */ class GroupedItemsType extends Type implements Countable, ArrayAccess, IteratorAggregate { @@ -78,4 +75,26 @@ public function getItems() { return $this->items; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return GroupedItemsType + */ + public function setGroupIndex($value) + { + $this->groupIndex = $this->castValueIfNeeded("groupIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfRealItemsType + * @return GroupedItemsType + */ + public function setItems(ArrayOfRealItemsType $value) + { + $this->items = $this->castValueIfNeeded("items", $value); + return $this; + } } diff --git a/src/API/Type/ImAddressDictionaryEntryType.php b/src/API/Type/ImAddressDictionaryEntryType.php index 92e606eb..d4742532 100644 --- a/src/API/Type/ImAddressDictionaryEntryType.php +++ b/src/API/Type/ImAddressDictionaryEntryType.php @@ -9,8 +9,6 @@ * * * XSD Type: ImAddressDictionaryEntryType - * - * @method ImAddressDictionaryEntryType setKey(string $key) */ class ImAddressDictionaryEntryType extends Type { @@ -27,4 +25,15 @@ public function getKey() { return $this->key; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ImAddressDictionaryEntryType + */ + public function setKey($value) + { + $this->key = $this->castValueIfNeeded("key", $value); + return $this; + } } diff --git a/src/API/Type/IndexedPageViewType.php b/src/API/Type/IndexedPageViewType.php index c3a095e0..901bbe1d 100644 --- a/src/API/Type/IndexedPageViewType.php +++ b/src/API/Type/IndexedPageViewType.php @@ -9,9 +9,6 @@ * * * XSD Type: IndexedPageViewType - * - * @method IndexedPageViewType setOffset(integer $offset) - * @method IndexedPageViewType setBasePoint(string $basePoint) */ class IndexedPageViewType extends BasePagingType { @@ -48,4 +45,26 @@ public function getBasePoint() { return $this->basePoint; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return IndexedPageViewType + */ + public function setOffset($value) + { + $this->offset = $this->castValueIfNeeded("offset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return IndexedPageViewType + */ + public function setBasePoint($value) + { + $this->basePoint = $this->castValueIfNeeded("basePoint", $value); + return $this; + } } diff --git a/src/API/Type/IndividualAttendeeConflictDataType.php b/src/API/Type/IndividualAttendeeConflictDataType.php index d543e5b7..b60ff997 100644 --- a/src/API/Type/IndividualAttendeeConflictDataType.php +++ b/src/API/Type/IndividualAttendeeConflictDataType.php @@ -7,8 +7,6 @@ * * * XSD Type: IndividualAttendeeConflictData - * - * @method IndividualAttendeeConflictDataType setBusyType(string $busyType) */ class IndividualAttendeeConflictDataType extends AttendeeConflictDataType { @@ -25,4 +23,15 @@ public function getBusyType() { return $this->busyType; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return IndividualAttendeeConflictDataType + */ + public function setBusyType($value) + { + $this->busyType = $this->castValueIfNeeded("busyType", $value); + return $this; + } } diff --git a/src/API/Type/InternetHeaderType.php b/src/API/Type/InternetHeaderType.php index df2f3ecd..c60c0a43 100644 --- a/src/API/Type/InternetHeaderType.php +++ b/src/API/Type/InternetHeaderType.php @@ -9,8 +9,6 @@ * * * XSD Type: InternetHeaderType - * - * @method InternetHeaderType setHeaderName(string $headerName) */ class InternetHeaderType extends Type { @@ -27,4 +25,15 @@ public function getHeaderName() { return $this->headerName; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return InternetHeaderType + */ + public function setHeaderName($value) + { + $this->headerName = $this->castValueIfNeeded("headerName", $value); + return $this; + } } diff --git a/src/API/Type/IntervalRecurrencePatternBaseType.php b/src/API/Type/IntervalRecurrencePatternBaseType.php index 18cba9a4..eea53435 100644 --- a/src/API/Type/IntervalRecurrencePatternBaseType.php +++ b/src/API/Type/IntervalRecurrencePatternBaseType.php @@ -7,8 +7,6 @@ * * * XSD Type: IntervalRecurrencePatternBaseType - * - * @method IntervalRecurrencePatternBaseType setInterval(integer $interval) */ class IntervalRecurrencePatternBaseType extends RecurrencePatternBaseType { @@ -25,4 +23,15 @@ public function getInterval() { return $this->interval; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return IntervalRecurrencePatternBaseType + */ + public function setInterval($value) + { + $this->interval = $this->castValueIfNeeded("interval", $value); + return $this; + } } diff --git a/src/API/Type/InvalidRecipientType.php b/src/API/Type/InvalidRecipientType.php index c604be60..e75f5fca 100644 --- a/src/API/Type/InvalidRecipientType.php +++ b/src/API/Type/InvalidRecipientType.php @@ -9,10 +9,6 @@ * * * XSD Type: InvalidRecipientType - * - * @method InvalidRecipientType setSmtpAddress(string $smtpAddress) - * @method InvalidRecipientType setResponseCode(string $responseCode) - * @method InvalidRecipientType setMessageText(string $messageText) */ class InvalidRecipientType extends Type { @@ -55,4 +51,37 @@ public function getMessageText() { return $this->messageText; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return InvalidRecipientType + */ + public function setSmtpAddress($value) + { + $this->smtpAddress = $this->castValueIfNeeded("smtpAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return InvalidRecipientType + */ + public function setResponseCode($value) + { + $this->responseCode = $this->castValueIfNeeded("responseCode", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return InvalidRecipientType + */ + public function setMessageText($value) + { + $this->messageText = $this->castValueIfNeeded("messageText", $value); + return $this; + } } diff --git a/src/API/Type/ItemAttachmentType.php b/src/API/Type/ItemAttachmentType.php index 33229416..9d675b3d 100644 --- a/src/API/Type/ItemAttachmentType.php +++ b/src/API/Type/ItemAttachmentType.php @@ -7,17 +7,6 @@ * * * XSD Type: ItemAttachmentType - * - * @method ItemAttachmentType setItem(ItemType $item) - * @method ItemAttachmentType setMessage(MessageType $message) - * @method ItemAttachmentType setCalendarItem(CalendarItemType $calendarItem) - * @method ItemAttachmentType setContact(ContactItemType $contact) - * @method ItemAttachmentType setMeetingMessage(MeetingMessageType $meetingMessage) - * @method ItemAttachmentType setMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method ItemAttachmentType setMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method ItemAttachmentType setMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method ItemAttachmentType setTask(TaskType $task) - * @method ItemAttachmentType setPostItem(PostItemType $postItem) */ class ItemAttachmentType extends AttachmentType { @@ -188,4 +177,114 @@ public function getPostItem() { return $this->postItem; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType + * @return ItemAttachmentType + */ + public function setItem(ItemType $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType + * @return ItemAttachmentType + */ + public function setMessage(MessageType $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType + * @return ItemAttachmentType + */ + public function setCalendarItem(CalendarItemType $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType + * @return ItemAttachmentType + */ + public function setContact(ContactItemType $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType + * @return ItemAttachmentType + */ + public function setMeetingMessage(MeetingMessageType $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType + * @return ItemAttachmentType + */ + public function setMeetingRequest(MeetingRequestMessageType $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType + * @return ItemAttachmentType + */ + public function setMeetingResponse(MeetingResponseMessageType $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType + * @return ItemAttachmentType + */ + public function setMeetingCancellation(MeetingCancellationMessageType $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType + * @return ItemAttachmentType + */ + public function setTask(TaskType $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType + * @return ItemAttachmentType + */ + public function setPostItem(PostItemType $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } } diff --git a/src/API/Type/ItemChangeType.php b/src/API/Type/ItemChangeType.php index 782410df..8d94beb4 100644 --- a/src/API/Type/ItemChangeType.php +++ b/src/API/Type/ItemChangeType.php @@ -9,11 +9,6 @@ * * * XSD Type: ItemChangeType - * - * @method ItemChangeType setItemId(ItemIdType $itemId) - * @method ItemChangeType setOccurrenceItemId(OccurrenceItemIdType $occurrenceItemId) - * @method ItemChangeType setRecurringMasterItemId(RecurringMasterItemIdType $recurringMasterItemId) - * @method ItemChangeType setUpdates(NonEmptyArrayOfItemChangeDescriptionsType $updates) */ class ItemChangeType extends Type { @@ -69,4 +64,48 @@ public function getUpdates() { return $this->updates; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ItemChangeType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceItemIdType + * @return ItemChangeType + */ + public function setOccurrenceItemId(OccurrenceItemIdType $value) + { + $this->occurrenceItemId = $this->castValueIfNeeded("occurrenceItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurringMasterItemIdType + * @return ItemChangeType + */ + public function setRecurringMasterItemId(RecurringMasterItemIdType $value) + { + $this->recurringMasterItemId = $this->castValueIfNeeded("recurringMasterItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfItemChangeDescriptionsType + * @return ItemChangeType + */ + public function setUpdates(NonEmptyArrayOfItemChangeDescriptionsType $value) + { + $this->updates = $this->castValueIfNeeded("updates", $value); + return $this; + } } diff --git a/src/API/Type/ItemIdType.php b/src/API/Type/ItemIdType.php index 8d6bc177..cdfa6db8 100644 --- a/src/API/Type/ItemIdType.php +++ b/src/API/Type/ItemIdType.php @@ -7,9 +7,6 @@ * * Identifier for a fully resolved item * XSD Type: ItemIdType - * - * @method ItemIdType setId(string $id) - * @method ItemIdType setChangeKey(string $changeKey) */ class ItemIdType extends BaseItemIdType { @@ -50,4 +47,26 @@ public function getChangeKey() { return $this->changeKey; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemIdType + */ + public function setChangeKey($value) + { + $this->changeKey = $this->castValueIfNeeded("changeKey", $value); + return $this; + } } diff --git a/src/API/Type/ItemResponseShapeType.php b/src/API/Type/ItemResponseShapeType.php index 12b6bbd5..982e4277 100644 --- a/src/API/Type/ItemResponseShapeType.php +++ b/src/API/Type/ItemResponseShapeType.php @@ -9,13 +9,6 @@ * * * XSD Type: ItemResponseShapeType - * - * @method ItemResponseShapeType setBaseShape(string $baseShape) - * @method ItemResponseShapeType setIncludeMimeContent(boolean $includeMimeContent) - * @method ItemResponseShapeType setBodyType(string $bodyType) - * @method ItemResponseShapeType setFilterHtmlContent(boolean $filterHtmlContent) - * @method ItemResponseShapeType setConvertHtmlCodePageToUTF8(boolean $convertHtmlCodePageToUTF8) - * @method ItemResponseShapeType setAdditionalProperties(NonEmptyArrayOfPathsToElementType $additionalProperties) */ class ItemResponseShapeType extends Type { @@ -58,6 +51,57 @@ public function getBaseShape() return $this->baseShape; } + /** + * @return boolean + */ + public function getIncludeMimeContent() + { + return $this->includeMimeContent; + } + + /** + * @return string + */ + public function getBodyType() + { + return $this->bodyType; + } + + /** + * @return boolean + */ + public function getFilterHtmlContent() + { + return $this->filterHtmlContent; + } + + /** + * @return boolean + */ + public function getConvertHtmlCodePageToUTF8() + { + return $this->convertHtmlCodePageToUTF8; + } + + /** + * @return NonEmptyArrayOfPathsToElementType + */ + public function getAdditionalProperties() + { + return $this->additionalProperties; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemResponseShapeType + */ + public function setBaseShape($value) + { + $this->baseShape = $this->castValueIfNeeded("baseShape", $value); + return $this; + } + /** * @returns bool */ @@ -67,19 +111,25 @@ public function isIncludeMimeContent() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemResponseShapeType */ - public function getIncludeMimeContent() + public function setIncludeMimeContent($value) { - return $this->includeMimeContent; + $this->includeMimeContent = $this->castValueIfNeeded("includeMimeContent", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemResponseShapeType */ - public function getBodyType() + public function setBodyType($value) { - return $this->bodyType; + $this->bodyType = $this->castValueIfNeeded("bodyType", $value); + return $this; } /** @@ -91,11 +141,14 @@ public function isFilterHtmlContent() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemResponseShapeType */ - public function getFilterHtmlContent() + public function setFilterHtmlContent($value) { - return $this->filterHtmlContent; + $this->filterHtmlContent = $this->castValueIfNeeded("filterHtmlContent", $value); + return $this; } /** @@ -107,18 +160,24 @@ public function isConvertHtmlCodePageToUTF8() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemResponseShapeType */ - public function getConvertHtmlCodePageToUTF8() + public function setConvertHtmlCodePageToUTF8($value) { - return $this->convertHtmlCodePageToUTF8; + $this->convertHtmlCodePageToUTF8 = $this->castValueIfNeeded("convertHtmlCodePageToUTF8", $value); + return $this; } /** - * @return NonEmptyArrayOfPathsToElementType + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfPathsToElementType + * @return ItemResponseShapeType */ - public function getAdditionalProperties() + public function setAdditionalProperties(NonEmptyArrayOfPathsToElementType $value) { - return $this->additionalProperties; + $this->additionalProperties = $this->castValueIfNeeded("additionalProperties", $value); + return $this; } } diff --git a/src/API/Type/ItemType.php b/src/API/Type/ItemType.php index a95c28c0..76e95653 100644 --- a/src/API/Type/ItemType.php +++ b/src/API/Type/ItemType.php @@ -10,48 +10,9 @@ * * XSD Type: ItemType * - * @method ItemType setMimeContent(MimeContentType $mimeContent) - * @method ItemType setItemId(ItemIdType $itemId) - * @method ItemType setParentFolderId(FolderIdType $parentFolderId) - * @method ItemType setItemClass(string $itemClass) - * @method ItemType setSubject(string $subject) - * @method ItemType setSensitivity(string $sensitivity) - * @method ItemType setBody(BodyType $body) - * @method ItemType setAttachments(NonEmptyArrayOfAttachmentsType $attachments) - * @method ItemType setDateTimeReceived(\DateTime $dateTimeReceived) - * @method ItemType setSize(integer $size) * @method ItemType addCategories(string $categories) - * @method ItemType setCategories(array $categories) - * @method ItemType setImportance(string $importance) - * @method ItemType setInReplyTo(string $inReplyTo) - * @method ItemType setIsSubmitted(boolean $isSubmitted) - * @method ItemType setIsDraft(boolean $isDraft) - * @method ItemType setIsFromMe(boolean $isFromMe) - * @method ItemType setIsResend(boolean $isResend) - * @method ItemType setIsUnmodified(boolean $isUnmodified) * @method ItemType addInternetMessageHeaders(InternetHeaderType $internetMessageHeaders) - * @method ItemType setInternetMessageHeaders(array $internetMessageHeaders) - * @method ItemType setDateTimeSent(\DateTime $dateTimeSent) - * @method ItemType setDateTimeCreated(\DateTime $dateTimeCreated) - * @method ItemType setResponseObjects(NonEmptyArrayOfResponseObjectsType $responseObjects) - * @method ItemType setReminderDueBy(\DateTime $reminderDueBy) - * @method ItemType setReminderIsSet(boolean $reminderIsSet) - * @method ItemType setReminderMinutesBeforeStart(integer $reminderMinutesBeforeStart) - * @method ItemType setDisplayCc(string $displayCc) - * @method ItemType setDisplayTo(string $displayTo) - * @method ItemType setHasAttachments(boolean $hasAttachments) * @method ItemType addExtendedProperty(ExtendedPropertyType $extendedProperty) - * @method ItemType setExtendedProperty(array $extendedProperty) - * @method ItemType setCulture(string $culture) - * @method ItemType setEffectiveRights(EffectiveRightsType $effectiveRights) - * @method ItemType setLastModifiedName(string $lastModifiedName) - * @method ItemType setLastModifiedTime(\DateTime $lastModifiedTime) - * @method ItemType setIsAssociated(boolean $isAssociated) - * @method ItemType setWebClientReadFormQueryString(string $webClientReadFormQueryString) - * @method ItemType setWebClientEditFormQueryString(string $webClientEditFormQueryString) - * @method ItemType setConversationId(ItemIdType $conversationId) - * @method ItemType setUniqueBody(BodyType $uniqueBody) - * @method ItemType setStoreEntryId(string $storeEntryId) */ class ItemType extends Type { @@ -363,14 +324,6 @@ public function getInReplyTo() return $this->inReplyTo; } - /** - * @returns bool - */ - public function isSubmitted() - { - return ((bool) $this->isSubmitted); - } - /** * @return boolean */ @@ -379,14 +332,6 @@ public function getIsSubmitted() return $this->isSubmitted; } - /** - * @returns bool - */ - public function isDraft() - { - return ((bool) $this->isDraft); - } - /** * @return boolean */ @@ -395,14 +340,6 @@ public function getIsDraft() return $this->isDraft; } - /** - * @returns bool - */ - public function isFromMe() - { - return ((bool) $this->isFromMe); - } - /** * @return boolean */ @@ -411,14 +348,6 @@ public function getIsFromMe() return $this->isFromMe; } - /** - * @returns bool - */ - public function isResend() - { - return ((bool) $this->isResend); - } - /** * @return boolean */ @@ -427,14 +356,6 @@ public function getIsResend() return $this->isResend; } - /** - * @returns bool - */ - public function isUnmodified() - { - return ((bool) $this->isUnmodified); - } - /** * @return boolean */ @@ -483,14 +404,6 @@ public function getReminderDueBy() return $this->reminderDueBy; } - /** - * @returns bool - */ - public function isReminderIsSet() - { - return ((bool) $this->reminderIsSet); - } - /** * @return boolean */ @@ -523,14 +436,6 @@ public function getDisplayTo() return $this->displayTo; } - /** - * @returns bool - */ - public function isHasAttachments() - { - return ((bool) $this->hasAttachments); - } - /** * @return boolean */ @@ -579,14 +484,6 @@ public function getLastModifiedTime() return $this->lastModifiedTime; } - /** - * @returns bool - */ - public function isAssociated() - { - return ((bool) $this->isAssociated); - } - /** * @return boolean */ @@ -634,4 +531,497 @@ public function getStoreEntryId() { return $this->storeEntryId; } + + /** + * @autogenerated This method is safe to replace + * @param $value MimeContentType + * @return ItemType + */ + public function setMimeContent(MimeContentType $value) + { + $this->mimeContent = $this->castValueIfNeeded("mimeContent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ItemType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return ItemType + */ + public function setParentFolderId(FolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setItemClass($value) + { + $this->itemClass = $this->castValueIfNeeded("itemClass", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setSubject($value) + { + $this->subject = $this->castValueIfNeeded("subject", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setSensitivity($value) + { + $this->sensitivity = $this->castValueIfNeeded("sensitivity", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BodyType + * @return ItemType + */ + public function setBody(BodyType $value) + { + $this->body = $this->castValueIfNeeded("body", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfAttachmentsType + * @return ItemType + */ + public function setAttachments(NonEmptyArrayOfAttachmentsType $value) + { + $this->attachments = $this->castValueIfNeeded("attachments", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ItemType + */ + public function setDateTimeReceived(\DateTime|string $value) + { + $this->dateTimeReceived = $this->castValueIfNeeded("dateTimeReceived", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ItemType + */ + public function setSize($value) + { + $this->size = $this->castValueIfNeeded("size", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ItemType + */ + public function setCategories(array $value) + { + $this->categories = $this->castValueIfNeeded("categories", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setImportance($value) + { + $this->importance = $this->castValueIfNeeded("importance", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setInReplyTo($value) + { + $this->inReplyTo = $this->castValueIfNeeded("inReplyTo", $value); + return $this; + } + + /** + * @returns bool + */ + public function isSubmitted() + { + return ((bool) $this->isSubmitted); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsSubmitted($value) + { + $this->isSubmitted = $this->castValueIfNeeded("isSubmitted", $value); + return $this; + } + + /** + * @returns bool + */ + public function isDraft() + { + return ((bool) $this->isDraft); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsDraft($value) + { + $this->isDraft = $this->castValueIfNeeded("isDraft", $value); + return $this; + } + + /** + * @returns bool + */ + public function isFromMe() + { + return ((bool) $this->isFromMe); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsFromMe($value) + { + $this->isFromMe = $this->castValueIfNeeded("isFromMe", $value); + return $this; + } + + /** + * @returns bool + */ + public function isResend() + { + return ((bool) $this->isResend); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsResend($value) + { + $this->isResend = $this->castValueIfNeeded("isResend", $value); + return $this; + } + + /** + * @returns bool + */ + public function isUnmodified() + { + return ((bool) $this->isUnmodified); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsUnmodified($value) + { + $this->isUnmodified = $this->castValueIfNeeded("isUnmodified", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value InternetHeaderType[] + * @return ItemType + */ + public function setInternetMessageHeaders(array $value) + { + $this->internetMessageHeaders = $this->castValueIfNeeded("internetMessageHeaders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ItemType + */ + public function setDateTimeSent(\DateTime|string $value) + { + $this->dateTimeSent = $this->castValueIfNeeded("dateTimeSent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ItemType + */ + public function setDateTimeCreated(\DateTime|string $value) + { + $this->dateTimeCreated = $this->castValueIfNeeded("dateTimeCreated", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfResponseObjectsType + * @return ItemType + */ + public function setResponseObjects(NonEmptyArrayOfResponseObjectsType $value) + { + $this->responseObjects = $this->castValueIfNeeded("responseObjects", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ItemType + */ + public function setReminderDueBy(\DateTime|string $value) + { + $this->reminderDueBy = $this->castValueIfNeeded("reminderDueBy", $value); + return $this; + } + + /** + * @returns bool + */ + public function isReminderIsSet() + { + return ((bool) $this->reminderIsSet); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setReminderIsSet($value) + { + $this->reminderIsSet = $this->castValueIfNeeded("reminderIsSet", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ItemType + */ + public function setReminderMinutesBeforeStart($value) + { + $this->reminderMinutesBeforeStart = $this->castValueIfNeeded("reminderMinutesBeforeStart", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setDisplayCc($value) + { + $this->displayCc = $this->castValueIfNeeded("displayCc", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setDisplayTo($value) + { + $this->displayTo = $this->castValueIfNeeded("displayTo", $value); + return $this; + } + + /** + * @returns bool + */ + public function isHasAttachments() + { + return ((bool) $this->hasAttachments); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setHasAttachments($value) + { + $this->hasAttachments = $this->castValueIfNeeded("hasAttachments", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedPropertyType[] + * @return ItemType + */ + public function setExtendedProperty(array $value) + { + $this->extendedProperty = $this->castValueIfNeeded("extendedProperty", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setCulture($value) + { + $this->culture = $this->castValueIfNeeded("culture", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EffectiveRightsType + * @return ItemType + */ + public function setEffectiveRights(EffectiveRightsType $value) + { + $this->effectiveRights = $this->castValueIfNeeded("effectiveRights", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setLastModifiedName($value) + { + $this->lastModifiedName = $this->castValueIfNeeded("lastModifiedName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return ItemType + */ + public function setLastModifiedTime(\DateTime|string $value) + { + $this->lastModifiedTime = $this->castValueIfNeeded("lastModifiedTime", $value); + return $this; + } + + /** + * @returns bool + */ + public function isAssociated() + { + return ((bool) $this->isAssociated); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ItemType + */ + public function setIsAssociated($value) + { + $this->isAssociated = $this->castValueIfNeeded("isAssociated", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setWebClientReadFormQueryString($value) + { + $this->webClientReadFormQueryString = $this->castValueIfNeeded("webClientReadFormQueryString", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setWebClientEditFormQueryString($value) + { + $this->webClientEditFormQueryString = $this->castValueIfNeeded("webClientEditFormQueryString", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ItemType + */ + public function setConversationId(ItemIdType $value) + { + $this->conversationId = $this->castValueIfNeeded("conversationId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BodyType + * @return ItemType + */ + public function setUniqueBody(BodyType $value) + { + $this->uniqueBody = $this->castValueIfNeeded("uniqueBody", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ItemType + */ + public function setStoreEntryId($value) + { + $this->storeEntryId = $this->castValueIfNeeded("storeEntryId", $value); + return $this; + } } diff --git a/src/API/Type/KeywordStatisticsSearchResultType.php b/src/API/Type/KeywordStatisticsSearchResultType.php index c3209a9c..a50edc60 100644 --- a/src/API/Type/KeywordStatisticsSearchResultType.php +++ b/src/API/Type/KeywordStatisticsSearchResultType.php @@ -9,10 +9,6 @@ * * Keyword statistics search result. * XSD Type: KeywordStatisticsSearchResultType - * - * @method KeywordStatisticsSearchResultType setKeyword(string $keyword) - * @method KeywordStatisticsSearchResultType setItemHits(integer $itemHits) - * @method KeywordStatisticsSearchResultType setSize(integer $size) */ class KeywordStatisticsSearchResultType extends Type { @@ -55,4 +51,37 @@ public function getSize() { return $this->size; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return KeywordStatisticsSearchResultType + */ + public function setKeyword($value) + { + $this->keyword = $this->castValueIfNeeded("keyword", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return KeywordStatisticsSearchResultType + */ + public function setItemHits($value) + { + $this->itemHits = $this->castValueIfNeeded("itemHits", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return KeywordStatisticsSearchResultType + */ + public function setSize($value) + { + $this->size = $this->castValueIfNeeded("size", $value); + return $this; + } } diff --git a/src/API/Type/MailTipsServiceConfigurationType.php b/src/API/Type/MailTipsServiceConfigurationType.php index fdcfd081..c8947b26 100644 --- a/src/API/Type/MailTipsServiceConfigurationType.php +++ b/src/API/Type/MailTipsServiceConfigurationType.php @@ -8,13 +8,7 @@ * * XSD Type: MailTipsServiceConfiguration * - * @method MailTipsServiceConfigurationType setMailTipsEnabled(boolean $mailTipsEnabled) - * @method MailTipsServiceConfigurationType setMaxRecipientsPerGetMailTipsRequest(integer $maxRecipientsPerGetMailTipsRequest) - * @method MailTipsServiceConfigurationType setMaxMessageSize(integer $maxMessageSize) - * @method MailTipsServiceConfigurationType setLargeAudienceThreshold(integer $largeAudienceThreshold) - * @method MailTipsServiceConfigurationType setShowExternalRecipientCount(boolean $showExternalRecipientCount) * @method MailTipsServiceConfigurationType addInternalDomains(SmtpDomainType $internalDomains) - * @method MailTipsServiceConfigurationType setInternalDomains(array $internalDomains) */ class MailTipsServiceConfigurationType extends ServiceConfigurationType { @@ -49,14 +43,6 @@ class MailTipsServiceConfigurationType extends ServiceConfigurationType */ protected $internalDomains = null; - /** - * @returns bool - */ - public function isMailTipsEnabled() - { - return ((bool) $this->mailTipsEnabled); - } - /** * @return boolean */ @@ -89,6 +75,74 @@ public function getLargeAudienceThreshold() return $this->largeAudienceThreshold; } + /** + * @return boolean + */ + public function getShowExternalRecipientCount() + { + return $this->showExternalRecipientCount; + } + + /** + * @return SmtpDomainType[] + */ + public function getInternalDomains() + { + return $this->internalDomains; + } + + /** + * @returns bool + */ + public function isMailTipsEnabled() + { + return ((bool) $this->mailTipsEnabled); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsServiceConfigurationType + */ + public function setMailTipsEnabled($value) + { + $this->mailTipsEnabled = $this->castValueIfNeeded("mailTipsEnabled", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsServiceConfigurationType + */ + public function setMaxRecipientsPerGetMailTipsRequest($value) + { + $this->maxRecipientsPerGetMailTipsRequest = $this->castValueIfNeeded("maxRecipientsPerGetMailTipsRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsServiceConfigurationType + */ + public function setMaxMessageSize($value) + { + $this->maxMessageSize = $this->castValueIfNeeded("maxMessageSize", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsServiceConfigurationType + */ + public function setLargeAudienceThreshold($value) + { + $this->largeAudienceThreshold = $this->castValueIfNeeded("largeAudienceThreshold", $value); + return $this; + } + /** * @returns bool */ @@ -98,18 +152,24 @@ public function isShowExternalRecipientCount() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsServiceConfigurationType */ - public function getShowExternalRecipientCount() + public function setShowExternalRecipientCount($value) { - return $this->showExternalRecipientCount; + $this->showExternalRecipientCount = $this->castValueIfNeeded("showExternalRecipientCount", $value); + return $this; } /** - * @return SmtpDomainType[] + * @autogenerated This method is safe to replace + * @param $value SmtpDomainType[] + * @return MailTipsServiceConfigurationType */ - public function getInternalDomains() + public function setInternalDomains(array $value) { - return $this->internalDomains; + $this->internalDomains = $this->castValueIfNeeded("internalDomains", $value); + return $this; } } diff --git a/src/API/Type/MailTipsType.php b/src/API/Type/MailTipsType.php index 0de0524d..1cdac95f 100644 --- a/src/API/Type/MailTipsType.php +++ b/src/API/Type/MailTipsType.php @@ -10,18 +10,7 @@ * * XSD Type: MailTips * - * @method MailTipsType setRecipientAddress(EmailAddressType $recipientAddress) * @method MailTipsType addPendingMailTips(string $pendingMailTips) - * @method MailTipsType setPendingMailTips(array $pendingMailTips) - * @method MailTipsType setOutOfOffice(OutOfOfficeMailTipType $outOfOffice) - * @method MailTipsType setMailboxFull(boolean $mailboxFull) - * @method MailTipsType setCustomMailTip(string $customMailTip) - * @method MailTipsType setTotalMemberCount(integer $totalMemberCount) - * @method MailTipsType setExternalMemberCount(integer $externalMemberCount) - * @method MailTipsType setMaxMessageSize(integer $maxMessageSize) - * @method MailTipsType setDeliveryRestricted(boolean $deliveryRestricted) - * @method MailTipsType setIsModerated(boolean $isModerated) - * @method MailTipsType setInvalidRecipient(boolean $invalidRecipient) */ class MailTipsType extends Type { @@ -105,14 +94,6 @@ public function getOutOfOffice() return $this->outOfOffice; } - /** - * @returns bool - */ - public function isMailboxFull() - { - return ((bool) $this->mailboxFull); - } - /** * @return boolean */ @@ -153,6 +134,126 @@ public function getMaxMessageSize() return $this->maxMessageSize; } + /** + * @return boolean + */ + public function getDeliveryRestricted() + { + return $this->deliveryRestricted; + } + + /** + * @return boolean + */ + public function getIsModerated() + { + return $this->isModerated; + } + + /** + * @return boolean + */ + public function getInvalidRecipient() + { + return $this->invalidRecipient; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return MailTipsType + */ + public function setRecipientAddress(EmailAddressType $value) + { + $this->recipientAddress = $this->castValueIfNeeded("recipientAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return MailTipsType + */ + public function setPendingMailTips(array $value) + { + $this->pendingMailTips = $this->castValueIfNeeded("pendingMailTips", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OutOfOfficeMailTipType + * @return MailTipsType + */ + public function setOutOfOffice(OutOfOfficeMailTipType $value) + { + $this->outOfOffice = $this->castValueIfNeeded("outOfOffice", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMailboxFull() + { + return ((bool) $this->mailboxFull); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsType + */ + public function setMailboxFull($value) + { + $this->mailboxFull = $this->castValueIfNeeded("mailboxFull", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MailTipsType + */ + public function setCustomMailTip($value) + { + $this->customMailTip = $this->castValueIfNeeded("customMailTip", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsType + */ + public function setTotalMemberCount($value) + { + $this->totalMemberCount = $this->castValueIfNeeded("totalMemberCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsType + */ + public function setExternalMemberCount($value) + { + $this->externalMemberCount = $this->castValueIfNeeded("externalMemberCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MailTipsType + */ + public function setMaxMessageSize($value) + { + $this->maxMessageSize = $this->castValueIfNeeded("maxMessageSize", $value); + return $this; + } + /** * @returns bool */ @@ -162,11 +263,14 @@ public function isDeliveryRestricted() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsType */ - public function getDeliveryRestricted() + public function setDeliveryRestricted($value) { - return $this->deliveryRestricted; + $this->deliveryRestricted = $this->castValueIfNeeded("deliveryRestricted", $value); + return $this; } /** @@ -178,11 +282,14 @@ public function isModerated() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsType */ - public function getIsModerated() + public function setIsModerated($value) { - return $this->isModerated; + $this->isModerated = $this->castValueIfNeeded("isModerated", $value); + return $this; } /** @@ -194,10 +301,13 @@ public function isInvalidRecipient() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailTipsType */ - public function getInvalidRecipient() + public function setInvalidRecipient($value) { - return $this->invalidRecipient; + $this->invalidRecipient = $this->castValueIfNeeded("invalidRecipient", $value); + return $this; } } diff --git a/src/API/Type/MailboxDataType.php b/src/API/Type/MailboxDataType.php index cae40f05..834ef061 100644 --- a/src/API/Type/MailboxDataType.php +++ b/src/API/Type/MailboxDataType.php @@ -9,10 +9,6 @@ * * * XSD Type: MailboxData - * - * @method MailboxDataType setEmail(EmailAddressType $email) - * @method MailboxDataType setAttendeeType(string $attendeeType) - * @method MailboxDataType setExcludeConflicts(boolean $excludeConflicts) */ class MailboxDataType extends Type { @@ -48,6 +44,36 @@ public function getAttendeeType() return $this->attendeeType; } + /** + * @return boolean + */ + public function getExcludeConflicts() + { + return $this->excludeConflicts; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return MailboxDataType + */ + public function setEmail(EmailAddressType $value) + { + $this->email = $this->castValueIfNeeded("email", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MailboxDataType + */ + public function setAttendeeType($value) + { + $this->attendeeType = $this->castValueIfNeeded("attendeeType", $value); + return $this; + } + /** * @returns bool */ @@ -57,10 +83,13 @@ public function isExcludeConflicts() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MailboxDataType */ - public function getExcludeConflicts() + public function setExcludeConflicts($value) { - return $this->excludeConflicts; + $this->excludeConflicts = $this->castValueIfNeeded("excludeConflicts", $value); + return $this; } } diff --git a/src/API/Type/MailboxStatisticsSearchResultType.php b/src/API/Type/MailboxStatisticsSearchResultType.php index 03e7f9ff..3aeca048 100644 --- a/src/API/Type/MailboxStatisticsSearchResultType.php +++ b/src/API/Type/MailboxStatisticsSearchResultType.php @@ -9,9 +9,6 @@ * * Mailbox statistics search result. * XSD Type: MailboxStatisticsSearchResultType - * - * @method MailboxStatisticsSearchResultType setUserMailbox(UserMailboxType $userMailbox) - * @method MailboxStatisticsSearchResultType setKeywordStatisticsSearchResult(KeywordStatisticsSearchResultType $keywordStatisticsSearchResult) */ class MailboxStatisticsSearchResultType extends Type { @@ -41,4 +38,26 @@ public function getKeywordStatisticsSearchResult() { return $this->keywordStatisticsSearchResult; } + + /** + * @autogenerated This method is safe to replace + * @param $value UserMailboxType + * @return MailboxStatisticsSearchResultType + */ + public function setUserMailbox(UserMailboxType $value) + { + $this->userMailbox = $this->castValueIfNeeded("userMailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value KeywordStatisticsSearchResultType + * @return MailboxStatisticsSearchResultType + */ + public function setKeywordStatisticsSearchResult(KeywordStatisticsSearchResultType $value) + { + $this->keywordStatisticsSearchResult = $this->castValueIfNeeded("keywordStatisticsSearchResult", $value); + return $this; + } } diff --git a/src/API/Type/ManagedFolderInformationType.php b/src/API/Type/ManagedFolderInformationType.php index 45f484bd..8c25a616 100644 --- a/src/API/Type/ManagedFolderInformationType.php +++ b/src/API/Type/ManagedFolderInformationType.php @@ -9,17 +9,6 @@ * * Compound property for Managed Folder related information for Managed Folders. * XSD Type: ManagedFolderInformationType - * - * @method ManagedFolderInformationType setCanDelete(boolean $canDelete) - * @method ManagedFolderInformationType setCanRenameOrMove(boolean $canRenameOrMove) - * @method ManagedFolderInformationType setMustDisplayComment(boolean $mustDisplayComment) - * @method ManagedFolderInformationType setHasQuota(boolean $hasQuota) - * @method ManagedFolderInformationType setIsManagedFoldersRoot(boolean $isManagedFoldersRoot) - * @method ManagedFolderInformationType setManagedFolderId(string $managedFolderId) - * @method ManagedFolderInformationType setComment(string $comment) - * @method ManagedFolderInformationType setStorageQuota(integer $storageQuota) - * @method ManagedFolderInformationType setFolderSize(integer $folderSize) - * @method ManagedFolderInformationType setHomePage(string $homePage) */ class ManagedFolderInformationType extends Type { @@ -74,6 +63,86 @@ class ManagedFolderInformationType extends Type */ protected $homePage = null; + /** + * @return boolean + */ + public function getCanDelete() + { + return $this->canDelete; + } + + /** + * @return boolean + */ + public function getCanRenameOrMove() + { + return $this->canRenameOrMove; + } + + /** + * @return boolean + */ + public function getMustDisplayComment() + { + return $this->mustDisplayComment; + } + + /** + * @return boolean + */ + public function getHasQuota() + { + return $this->hasQuota; + } + + /** + * @return boolean + */ + public function getIsManagedFoldersRoot() + { + return $this->isManagedFoldersRoot; + } + + /** + * @return string + */ + public function getManagedFolderId() + { + return $this->managedFolderId; + } + + /** + * @return string + */ + public function getComment() + { + return $this->comment; + } + + /** + * @return integer + */ + public function getStorageQuota() + { + return $this->storageQuota; + } + + /** + * @return integer + */ + public function getFolderSize() + { + return $this->folderSize; + } + + /** + * @return string + */ + public function getHomePage() + { + return $this->homePage; + } + /** * @returns bool */ @@ -83,11 +152,14 @@ public function isCanDelete() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ManagedFolderInformationType */ - public function getCanDelete() + public function setCanDelete($value) { - return $this->canDelete; + $this->canDelete = $this->castValueIfNeeded("canDelete", $value); + return $this; } /** @@ -99,11 +171,14 @@ public function isCanRenameOrMove() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ManagedFolderInformationType */ - public function getCanRenameOrMove() + public function setCanRenameOrMove($value) { - return $this->canRenameOrMove; + $this->canRenameOrMove = $this->castValueIfNeeded("canRenameOrMove", $value); + return $this; } /** @@ -115,11 +190,14 @@ public function isMustDisplayComment() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ManagedFolderInformationType */ - public function getMustDisplayComment() + public function setMustDisplayComment($value) { - return $this->mustDisplayComment; + $this->mustDisplayComment = $this->castValueIfNeeded("mustDisplayComment", $value); + return $this; } /** @@ -131,11 +209,14 @@ public function isHasQuota() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ManagedFolderInformationType */ - public function getHasQuota() + public function setHasQuota($value) { - return $this->hasQuota; + $this->hasQuota = $this->castValueIfNeeded("hasQuota", $value); + return $this; } /** @@ -147,50 +228,68 @@ public function isManagedFoldersRoot() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return ManagedFolderInformationType */ - public function getIsManagedFoldersRoot() + public function setIsManagedFoldersRoot($value) { - return $this->isManagedFoldersRoot; + $this->isManagedFoldersRoot = $this->castValueIfNeeded("isManagedFoldersRoot", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return ManagedFolderInformationType */ - public function getManagedFolderId() + public function setManagedFolderId($value) { - return $this->managedFolderId; + $this->managedFolderId = $this->castValueIfNeeded("managedFolderId", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return ManagedFolderInformationType */ - public function getComment() + public function setComment($value) { - return $this->comment; + $this->comment = $this->castValueIfNeeded("comment", $value); + return $this; } /** - * @return integer + * @autogenerated This method is safe to replace + * @param $value int + * @return ManagedFolderInformationType */ - public function getStorageQuota() + public function setStorageQuota($value) { - return $this->storageQuota; + $this->storageQuota = $this->castValueIfNeeded("storageQuota", $value); + return $this; } /** - * @return integer + * @autogenerated This method is safe to replace + * @param $value int + * @return ManagedFolderInformationType */ - public function getFolderSize() + public function setFolderSize($value) { - return $this->folderSize; + $this->folderSize = $this->castValueIfNeeded("folderSize", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return ManagedFolderInformationType */ - public function getHomePage() + public function setHomePage($value) { - return $this->homePage; + $this->homePage = $this->castValueIfNeeded("homePage", $value); + return $this; } } diff --git a/src/API/Type/MeetingMessageType.php b/src/API/Type/MeetingMessageType.php index 3662f166..b5ba2d72 100644 --- a/src/API/Type/MeetingMessageType.php +++ b/src/API/Type/MeetingMessageType.php @@ -7,15 +7,6 @@ * * * XSD Type: MeetingMessageType - * - * @method MeetingMessageType setAssociatedCalendarItemId(ItemIdType $associatedCalendarItemId) - * @method MeetingMessageType setIsDelegated(boolean $isDelegated) - * @method MeetingMessageType setIsOutOfDate(boolean $isOutOfDate) - * @method MeetingMessageType setHasBeenProcessed(boolean $hasBeenProcessed) - * @method MeetingMessageType setResponseType(string $responseType) - * @method MeetingMessageType setUID(string $uID) - * @method MeetingMessageType setRecurrenceId(\DateTime $recurrenceId) - * @method MeetingMessageType setDateTimeStamp(\DateTime $dateTimeStamp) */ class MeetingMessageType extends MessageType { @@ -73,6 +64,73 @@ public function getAssociatedCalendarItemId() return $this->associatedCalendarItemId; } + /** + * @return boolean + */ + public function getIsDelegated() + { + return $this->isDelegated; + } + + /** + * @return boolean + */ + public function getIsOutOfDate() + { + return $this->isOutOfDate; + } + + /** + * @return boolean + */ + public function getHasBeenProcessed() + { + return $this->hasBeenProcessed; + } + + /** + * @return string + */ + public function getResponseType() + { + return $this->responseType; + } + + /** + * @return string + */ + public function getUID() + { + return $this->uID; + } + + /** + * @return \DateTime + */ + public function getRecurrenceId() + { + return $this->recurrenceId; + } + + /** + * @return \DateTime + */ + public function getDateTimeStamp() + { + return $this->dateTimeStamp; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return MeetingMessageType + */ + public function setAssociatedCalendarItemId(ItemIdType $value) + { + $this->associatedCalendarItemId = $this->castValueIfNeeded("associatedCalendarItemId", $value); + return $this; + } + /** * @returns bool */ @@ -82,11 +140,14 @@ public function isDelegated() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingMessageType */ - public function getIsDelegated() + public function setIsDelegated($value) { - return $this->isDelegated; + $this->isDelegated = $this->castValueIfNeeded("isDelegated", $value); + return $this; } /** @@ -98,11 +159,14 @@ public function isOutOfDate() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingMessageType */ - public function getIsOutOfDate() + public function setIsOutOfDate($value) { - return $this->isOutOfDate; + $this->isOutOfDate = $this->castValueIfNeeded("isOutOfDate", $value); + return $this; } /** @@ -114,42 +178,57 @@ public function isHasBeenProcessed() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingMessageType */ - public function getHasBeenProcessed() + public function setHasBeenProcessed($value) { - return $this->hasBeenProcessed; + $this->hasBeenProcessed = $this->castValueIfNeeded("hasBeenProcessed", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingMessageType */ - public function getResponseType() + public function setResponseType($value) { - return $this->responseType; + $this->responseType = $this->castValueIfNeeded("responseType", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingMessageType */ - public function getUID() + public function setUID($value) { - return $this->uID; + $this->uID = $this->castValueIfNeeded("uID", $value); + return $this; } /** - * @return \DateTime + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingMessageType */ - public function getRecurrenceId() + public function setRecurrenceId(\DateTime|string $value) { - return $this->recurrenceId; + $this->recurrenceId = $this->castValueIfNeeded("recurrenceId", $value); + return $this; } /** - * @return \DateTime + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingMessageType */ - public function getDateTimeStamp() + public function setDateTimeStamp(\DateTime|string $value) { - return $this->dateTimeStamp; + $this->dateTimeStamp = $this->castValueIfNeeded("dateTimeStamp", $value); + return $this; } } diff --git a/src/API/Type/MeetingRequestMessageType.php b/src/API/Type/MeetingRequestMessageType.php index 86cf09af..f9f2632f 100644 --- a/src/API/Type/MeetingRequestMessageType.php +++ b/src/API/Type/MeetingRequestMessageType.php @@ -8,52 +8,11 @@ * * XSD Type: MeetingRequestMessageType * - * @method MeetingRequestMessageType setMeetingRequestType(string $meetingRequestType) - * @method MeetingRequestMessageType setIntendedFreeBusyStatus(string $intendedFreeBusyStatus) - * @method MeetingRequestMessageType setStart(\DateTime $start) - * @method MeetingRequestMessageType setEnd(\DateTime $end) - * @method MeetingRequestMessageType setOriginalStart(\DateTime $originalStart) - * @method MeetingRequestMessageType setIsAllDayEvent(boolean $isAllDayEvent) - * @method MeetingRequestMessageType setLegacyFreeBusyStatus(string $legacyFreeBusyStatus) - * @method MeetingRequestMessageType setLocation(string $location) - * @method MeetingRequestMessageType setWhen(string $when) - * @method MeetingRequestMessageType setIsMeeting(boolean $isMeeting) - * @method MeetingRequestMessageType setIsCancelled(boolean $isCancelled) - * @method MeetingRequestMessageType setIsRecurring(boolean $isRecurring) - * @method MeetingRequestMessageType setMeetingRequestWasSent(boolean $meetingRequestWasSent) - * @method MeetingRequestMessageType setCalendarItemType(string $calendarItemType) - * @method MeetingRequestMessageType setMyResponseType(string $myResponseType) - * @method MeetingRequestMessageType setOrganizer(SingleRecipientType $organizer) * @method MeetingRequestMessageType addRequiredAttendees(AttendeeType $requiredAttendees) - * @method MeetingRequestMessageType setRequiredAttendees(array $requiredAttendees) * @method MeetingRequestMessageType addOptionalAttendees(AttendeeType $optionalAttendees) - * @method MeetingRequestMessageType setOptionalAttendees(array $optionalAttendees) * @method MeetingRequestMessageType addResources(AttendeeType $resources) - * @method MeetingRequestMessageType setResources(array $resources) - * @method MeetingRequestMessageType setConflictingMeetingCount(integer $conflictingMeetingCount) - * @method MeetingRequestMessageType setAdjacentMeetingCount(integer $adjacentMeetingCount) - * @method MeetingRequestMessageType setConflictingMeetings(NonEmptyArrayOfAllItemsType $conflictingMeetings) - * @method MeetingRequestMessageType setAdjacentMeetings(NonEmptyArrayOfAllItemsType $adjacentMeetings) - * @method MeetingRequestMessageType setDuration(string $duration) - * @method MeetingRequestMessageType setTimeZone(string $timeZone) - * @method MeetingRequestMessageType setAppointmentReplyTime(\DateTime $appointmentReplyTime) - * @method MeetingRequestMessageType setAppointmentSequenceNumber(integer $appointmentSequenceNumber) - * @method MeetingRequestMessageType setAppointmentState(integer $appointmentState) - * @method MeetingRequestMessageType setRecurrence(RecurrenceType $recurrence) - * @method MeetingRequestMessageType setFirstOccurrence(OccurrenceInfoType $firstOccurrence) - * @method MeetingRequestMessageType setLastOccurrence(OccurrenceInfoType $lastOccurrence) * @method MeetingRequestMessageType addModifiedOccurrences(OccurrenceInfoType $modifiedOccurrences) - * @method MeetingRequestMessageType setModifiedOccurrences(array $modifiedOccurrences) * @method MeetingRequestMessageType addDeletedOccurrences(DeletedOccurrenceInfoType $deletedOccurrences) - * @method MeetingRequestMessageType setDeletedOccurrences(array $deletedOccurrences) - * @method MeetingRequestMessageType setMeetingTimeZone(TimeZoneType $meetingTimeZone) - * @method MeetingRequestMessageType setStartTimeZone(TimeZoneDefinitionType $startTimeZone) - * @method MeetingRequestMessageType setEndTimeZone(TimeZoneDefinitionType $endTimeZone) - * @method MeetingRequestMessageType setConferenceType(integer $conferenceType) - * @method MeetingRequestMessageType setAllowNewTimeProposal(boolean $allowNewTimeProposal) - * @method MeetingRequestMessageType setIsOnlineMeeting(boolean $isOnlineMeeting) - * @method MeetingRequestMessageType setMeetingWorkspaceUrl(string $meetingWorkspaceUrl) - * @method MeetingRequestMessageType setNetShowUrl(string $netShowUrl) */ class MeetingRequestMessageType extends MeetingMessageType { @@ -310,14 +269,6 @@ public function getOriginalStart() return $this->originalStart; } - /** - * @returns bool - */ - public function isAllDayEvent() - { - return ((bool) $this->isAllDayEvent); - } - /** * @return boolean */ @@ -350,14 +301,6 @@ public function getWhen() return $this->when; } - /** - * @returns bool - */ - public function isMeeting() - { - return ((bool) $this->isMeeting); - } - /** * @return boolean */ @@ -366,14 +309,6 @@ public function getIsMeeting() return $this->isMeeting; } - /** - * @returns bool - */ - public function isCancelled() - { - return ((bool) $this->isCancelled); - } - /** * @return boolean */ @@ -382,14 +317,6 @@ public function getIsCancelled() return $this->isCancelled; } - /** - * @returns bool - */ - public function isRecurring() - { - return ((bool) $this->isRecurring); - } - /** * @return boolean */ @@ -398,14 +325,6 @@ public function getIsRecurring() return $this->isRecurring; } - /** - * @returns bool - */ - public function isMeetingRequestWasSent() - { - return ((bool) $this->meetingRequestWasSent); - } - /** * @return boolean */ @@ -606,6 +525,485 @@ public function getConferenceType() return $this->conferenceType; } + /** + * @return boolean + */ + public function getAllowNewTimeProposal() + { + return $this->allowNewTimeProposal; + } + + /** + * @return boolean + */ + public function getIsOnlineMeeting() + { + return $this->isOnlineMeeting; + } + + /** + * @return string + */ + public function getMeetingWorkspaceUrl() + { + return $this->meetingWorkspaceUrl; + } + + /** + * @return string + */ + public function getNetShowUrl() + { + return $this->netShowUrl; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setMeetingRequestType($value) + { + $this->meetingRequestType = $this->castValueIfNeeded("meetingRequestType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setIntendedFreeBusyStatus($value) + { + $this->intendedFreeBusyStatus = $this->castValueIfNeeded("intendedFreeBusyStatus", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingRequestMessageType + */ + public function setStart(\DateTime|string $value) + { + $this->start = $this->castValueIfNeeded("start", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingRequestMessageType + */ + public function setEnd(\DateTime|string $value) + { + $this->end = $this->castValueIfNeeded("end", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingRequestMessageType + */ + public function setOriginalStart(\DateTime|string $value) + { + $this->originalStart = $this->castValueIfNeeded("originalStart", $value); + return $this; + } + + /** + * @returns bool + */ + public function isAllDayEvent() + { + return ((bool) $this->isAllDayEvent); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType + */ + public function setIsAllDayEvent($value) + { + $this->isAllDayEvent = $this->castValueIfNeeded("isAllDayEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setLegacyFreeBusyStatus($value) + { + $this->legacyFreeBusyStatus = $this->castValueIfNeeded("legacyFreeBusyStatus", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setLocation($value) + { + $this->location = $this->castValueIfNeeded("location", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setWhen($value) + { + $this->when = $this->castValueIfNeeded("when", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMeeting() + { + return ((bool) $this->isMeeting); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType + */ + public function setIsMeeting($value) + { + $this->isMeeting = $this->castValueIfNeeded("isMeeting", $value); + return $this; + } + + /** + * @returns bool + */ + public function isCancelled() + { + return ((bool) $this->isCancelled); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType + */ + public function setIsCancelled($value) + { + $this->isCancelled = $this->castValueIfNeeded("isCancelled", $value); + return $this; + } + + /** + * @returns bool + */ + public function isRecurring() + { + return ((bool) $this->isRecurring); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType + */ + public function setIsRecurring($value) + { + $this->isRecurring = $this->castValueIfNeeded("isRecurring", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMeetingRequestWasSent() + { + return ((bool) $this->meetingRequestWasSent); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType + */ + public function setMeetingRequestWasSent($value) + { + $this->meetingRequestWasSent = $this->castValueIfNeeded("meetingRequestWasSent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setCalendarItemType($value) + { + $this->calendarItemType = $this->castValueIfNeeded("calendarItemType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setMyResponseType($value) + { + $this->myResponseType = $this->castValueIfNeeded("myResponseType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return MeetingRequestMessageType + */ + public function setOrganizer(SingleRecipientType $value) + { + $this->organizer = $this->castValueIfNeeded("organizer", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return MeetingRequestMessageType + */ + public function setRequiredAttendees(array $value) + { + $this->requiredAttendees = $this->castValueIfNeeded("requiredAttendees", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return MeetingRequestMessageType + */ + public function setOptionalAttendees(array $value) + { + $this->optionalAttendees = $this->castValueIfNeeded("optionalAttendees", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AttendeeType[] + * @return MeetingRequestMessageType + */ + public function setResources(array $value) + { + $this->resources = $this->castValueIfNeeded("resources", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MeetingRequestMessageType + */ + public function setConflictingMeetingCount($value) + { + $this->conflictingMeetingCount = $this->castValueIfNeeded("conflictingMeetingCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MeetingRequestMessageType + */ + public function setAdjacentMeetingCount($value) + { + $this->adjacentMeetingCount = $this->castValueIfNeeded("adjacentMeetingCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfAllItemsType + * @return MeetingRequestMessageType + */ + public function setConflictingMeetings(NonEmptyArrayOfAllItemsType $value) + { + $this->conflictingMeetings = $this->castValueIfNeeded("conflictingMeetings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfAllItemsType + * @return MeetingRequestMessageType + */ + public function setAdjacentMeetings(NonEmptyArrayOfAllItemsType $value) + { + $this->adjacentMeetings = $this->castValueIfNeeded("adjacentMeetings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setDuration($value) + { + $this->duration = $this->castValueIfNeeded("duration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType + */ + public function setTimeZone($value) + { + $this->timeZone = $this->castValueIfNeeded("timeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MeetingRequestMessageType + */ + public function setAppointmentReplyTime(\DateTime|string $value) + { + $this->appointmentReplyTime = $this->castValueIfNeeded("appointmentReplyTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MeetingRequestMessageType + */ + public function setAppointmentSequenceNumber($value) + { + $this->appointmentSequenceNumber = $this->castValueIfNeeded("appointmentSequenceNumber", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MeetingRequestMessageType + */ + public function setAppointmentState($value) + { + $this->appointmentState = $this->castValueIfNeeded("appointmentState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurrenceType + * @return MeetingRequestMessageType + */ + public function setRecurrence(RecurrenceType $value) + { + $this->recurrence = $this->castValueIfNeeded("recurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType + * @return MeetingRequestMessageType + */ + public function setFirstOccurrence(OccurrenceInfoType $value) + { + $this->firstOccurrence = $this->castValueIfNeeded("firstOccurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType + * @return MeetingRequestMessageType + */ + public function setLastOccurrence(OccurrenceInfoType $value) + { + $this->lastOccurrence = $this->castValueIfNeeded("lastOccurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceInfoType[] + * @return MeetingRequestMessageType + */ + public function setModifiedOccurrences(array $value) + { + $this->modifiedOccurrences = $this->castValueIfNeeded("modifiedOccurrences", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeletedOccurrenceInfoType[] + * @return MeetingRequestMessageType + */ + public function setDeletedOccurrences(array $value) + { + $this->deletedOccurrences = $this->castValueIfNeeded("deletedOccurrences", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneType + * @return MeetingRequestMessageType + */ + public function setMeetingTimeZone(TimeZoneType $value) + { + $this->meetingTimeZone = $this->castValueIfNeeded("meetingTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneDefinitionType + * @return MeetingRequestMessageType + */ + public function setStartTimeZone(TimeZoneDefinitionType $value) + { + $this->startTimeZone = $this->castValueIfNeeded("startTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneDefinitionType + * @return MeetingRequestMessageType + */ + public function setEndTimeZone(TimeZoneDefinitionType $value) + { + $this->endTimeZone = $this->castValueIfNeeded("endTimeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return MeetingRequestMessageType + */ + public function setConferenceType($value) + { + $this->conferenceType = $this->castValueIfNeeded("conferenceType", $value); + return $this; + } + /** * @returns bool */ @@ -615,11 +1013,14 @@ public function isAllowNewTimeProposal() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType */ - public function getAllowNewTimeProposal() + public function setAllowNewTimeProposal($value) { - return $this->allowNewTimeProposal; + $this->allowNewTimeProposal = $this->castValueIfNeeded("allowNewTimeProposal", $value); + return $this; } /** @@ -631,26 +1032,35 @@ public function isOnlineMeeting() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return MeetingRequestMessageType */ - public function getIsOnlineMeeting() + public function setIsOnlineMeeting($value) { - return $this->isOnlineMeeting; + $this->isOnlineMeeting = $this->castValueIfNeeded("isOnlineMeeting", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType */ - public function getMeetingWorkspaceUrl() + public function setMeetingWorkspaceUrl($value) { - return $this->meetingWorkspaceUrl; + $this->meetingWorkspaceUrl = $this->castValueIfNeeded("meetingWorkspaceUrl", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return MeetingRequestMessageType */ - public function getNetShowUrl() + public function setNetShowUrl($value) { - return $this->netShowUrl; + $this->netShowUrl = $this->castValueIfNeeded("netShowUrl", $value); + return $this; } } diff --git a/src/API/Type/MemberType.php b/src/API/Type/MemberType.php index 270de808..a9ec26f5 100644 --- a/src/API/Type/MemberType.php +++ b/src/API/Type/MemberType.php @@ -9,10 +9,6 @@ * * * XSD Type: MemberType - * - * @method MemberType setKey(string $key) - * @method MemberType setMailbox(EmailAddressType $mailbox) - * @method MemberType setStatus(string $status) */ class MemberType extends Type { @@ -55,4 +51,37 @@ public function getStatus() { return $this->status; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MemberType + */ + public function setKey($value) + { + $this->key = $this->castValueIfNeeded("key", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return MemberType + */ + public function setMailbox(EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MemberType + */ + public function setStatus($value) + { + $this->status = $this->castValueIfNeeded("status", $value); + return $this; + } } diff --git a/src/API/Type/MessageTrackingReportType.php b/src/API/Type/MessageTrackingReportType.php index a6187e15..50cf063e 100644 --- a/src/API/Type/MessageTrackingReportType.php +++ b/src/API/Type/MessageTrackingReportType.php @@ -10,16 +10,9 @@ * * XSD Type: MessageTrackingReportType * - * @method MessageTrackingReportType setSender(EmailAddressType $sender) - * @method MessageTrackingReportType setPurportedSender(EmailAddressType $purportedSender) - * @method MessageTrackingReportType setSubject(string $subject) - * @method MessageTrackingReportType setSubmitTime(\DateTime $submitTime) * @method MessageTrackingReportType addOriginalRecipients(EmailAddressType $originalRecipients) - * @method MessageTrackingReportType setOriginalRecipients(array $originalRecipients) * @method MessageTrackingReportType addRecipientTrackingEvents(RecipientTrackingEventType $recipientTrackingEvents) - * @method MessageTrackingReportType setRecipientTrackingEvents(array $recipientTrackingEvents) * @method MessageTrackingReportType addProperties(TrackingPropertyType $properties) - * @method MessageTrackingReportType setProperties(array $properties) */ class MessageTrackingReportType extends Type { @@ -118,4 +111,81 @@ public function getProperties() { return $this->properties; } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return MessageTrackingReportType + */ + public function setSender(EmailAddressType $value) + { + $this->sender = $this->castValueIfNeeded("sender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return MessageTrackingReportType + */ + public function setPurportedSender(EmailAddressType $value) + { + $this->purportedSender = $this->castValueIfNeeded("purportedSender", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MessageTrackingReportType + */ + public function setSubject($value) + { + $this->subject = $this->castValueIfNeeded("subject", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return MessageTrackingReportType + */ + public function setSubmitTime(\DateTime|string $value) + { + $this->submitTime = $this->castValueIfNeeded("submitTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return MessageTrackingReportType + */ + public function setOriginalRecipients(array $value) + { + $this->originalRecipients = $this->castValueIfNeeded("originalRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecipientTrackingEventType[] + * @return MessageTrackingReportType + */ + public function setRecipientTrackingEvents(array $value) + { + $this->recipientTrackingEvents = $this->castValueIfNeeded("recipientTrackingEvents", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TrackingPropertyType[] + * @return MessageTrackingReportType + */ + public function setProperties(array $value) + { + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; + } } diff --git a/src/API/Type/MessageType.php b/src/API/Type/MessageType.php index b4c4e7e4..9e0eb178 100644 --- a/src/API/Type/MessageType.php +++ b/src/API/Type/MessageType.php @@ -11,26 +11,10 @@ * * XSD Type: MessageType * - * @method MessageType setSender(SingleRecipientType $sender) * @method MessageType addToRecipients(EmailAddressType $toRecipients) - * @method MessageType setToRecipients(array $toRecipients) * @method MessageType addCcRecipients(EmailAddressType $ccRecipients) - * @method MessageType setCcRecipients(array $ccRecipients) * @method MessageType addBccRecipients(EmailAddressType $bccRecipients) - * @method MessageType setBccRecipients(array $bccRecipients) - * @method MessageType setIsReadReceiptRequested(boolean $isReadReceiptRequested) - * @method MessageType setIsDeliveryReceiptRequested(boolean $isDeliveryReceiptRequested) - * @method MessageType setConversationIndex(string $conversationIndex) - * @method MessageType setConversationTopic(string $conversationTopic) - * @method MessageType setFrom(SingleRecipientType $from) - * @method MessageType setInternetMessageId(string $internetMessageId) - * @method MessageType setIsRead(boolean $isRead) - * @method MessageType setIsResponseRequested(boolean $isResponseRequested) - * @method MessageType setReferences(string $references) * @method MessageType addReplyTo(EmailAddressType $replyTo) - * @method MessageType setReplyTo(array $replyTo) - * @method MessageType setReceivedBy(SingleRecipientType $receivedBy) - * @method MessageType setReceivedRepresenting(SingleRecipientType $receivedRepresenting) */ class MessageType extends ItemType { @@ -245,14 +229,6 @@ public function getBccRecipients() return $this->bccRecipients; } - /** - * @returns bool - */ - public function isReadReceiptRequested() - { - return ((bool) $this->isReadReceiptRequested); - } - /** * @return boolean */ @@ -261,14 +237,6 @@ public function getIsReadReceiptRequested() return $this->isReadReceiptRequested; } - /** - * @returns bool - */ - public function isDeliveryReceiptRequested() - { - return ((bool) $this->isDeliveryReceiptRequested); - } - /** * @return boolean */ @@ -309,14 +277,6 @@ public function getInternetMessageId() return $this->internetMessageId; } - /** - * @returns bool - */ - public function isRead() - { - return ((bool) $this->isRead); - } - /** * @return boolean */ @@ -325,14 +285,6 @@ public function getIsRead() return $this->isRead; } - /** - * @returns bool - */ - public function isResponseRequested() - { - return ((bool) $this->isResponseRequested); - } - /** * @return boolean */ @@ -372,4 +324,157 @@ public function getReceivedRepresenting() { return $this->receivedRepresenting; } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return MessageType + */ + public function setSender(SingleRecipientType $value) + { + $this->sender = $this->castValueIfNeeded("sender", $value); + return $this; + } + + /** + * @returns bool + */ + public function isReadReceiptRequested() + { + return ((bool) $this->isReadReceiptRequested); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MessageType + */ + public function setIsReadReceiptRequested($value) + { + $this->isReadReceiptRequested = $this->castValueIfNeeded("isReadReceiptRequested", $value); + return $this; + } + + /** + * @returns bool + */ + public function isDeliveryReceiptRequested() + { + return ((bool) $this->isDeliveryReceiptRequested); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MessageType + */ + public function setIsDeliveryReceiptRequested($value) + { + $this->isDeliveryReceiptRequested = $this->castValueIfNeeded("isDeliveryReceiptRequested", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MessageType + */ + public function setConversationIndex($value) + { + $this->conversationIndex = $this->castValueIfNeeded("conversationIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MessageType + */ + public function setConversationTopic($value) + { + $this->conversationTopic = $this->castValueIfNeeded("conversationTopic", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MessageType + */ + public function setInternetMessageId($value) + { + $this->internetMessageId = $this->castValueIfNeeded("internetMessageId", $value); + return $this; + } + + /** + * @returns bool + */ + public function isRead() + { + return ((bool) $this->isRead); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MessageType + */ + public function setIsRead($value) + { + $this->isRead = $this->castValueIfNeeded("isRead", $value); + return $this; + } + + /** + * @returns bool + */ + public function isResponseRequested() + { + return ((bool) $this->isResponseRequested); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return MessageType + */ + public function setIsResponseRequested($value) + { + $this->isResponseRequested = $this->castValueIfNeeded("isResponseRequested", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MessageType + */ + public function setReferences($value) + { + $this->references = $this->castValueIfNeeded("references", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return MessageType + */ + public function setReceivedBy(SingleRecipientType $value) + { + $this->receivedBy = $this->castValueIfNeeded("receivedBy", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return MessageType + */ + public function setReceivedRepresenting(SingleRecipientType $value) + { + $this->receivedRepresenting = $this->castValueIfNeeded("receivedRepresenting", $value); + return $this; + } } diff --git a/src/API/Type/MimeContentType.php b/src/API/Type/MimeContentType.php index f19e5025..d0a864c6 100644 --- a/src/API/Type/MimeContentType.php +++ b/src/API/Type/MimeContentType.php @@ -9,8 +9,6 @@ * * * XSD Type: MimeContentType - * - * @method MimeContentType setCharacterSet(string $characterSet) */ class MimeContentType extends Type { @@ -27,4 +25,15 @@ public function getCharacterSet() { return $this->characterSet; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return MimeContentType + */ + public function setCharacterSet($value) + { + $this->characterSet = $this->castValueIfNeeded("characterSet", $value); + return $this; + } } diff --git a/src/API/Type/ModifiedEventType.php b/src/API/Type/ModifiedEventType.php index 21746458..b2485d1f 100644 --- a/src/API/Type/ModifiedEventType.php +++ b/src/API/Type/ModifiedEventType.php @@ -7,8 +7,6 @@ * * * XSD Type: ModifiedEventType - * - * @method ModifiedEventType setUnreadCount(integer $unreadCount) */ class ModifiedEventType extends BaseObjectChangedEventType { @@ -25,4 +23,15 @@ public function getUnreadCount() { return $this->unreadCount; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ModifiedEventType + */ + public function setUnreadCount($value) + { + $this->unreadCount = $this->castValueIfNeeded("unreadCount", $value); + return $this; + } } diff --git a/src/API/Type/MovedCopiedEventType.php b/src/API/Type/MovedCopiedEventType.php index d610acc3..14841795 100644 --- a/src/API/Type/MovedCopiedEventType.php +++ b/src/API/Type/MovedCopiedEventType.php @@ -7,10 +7,6 @@ * * * XSD Type: MovedCopiedEventType - * - * @method MovedCopiedEventType setOldFolderId(FolderIdType $oldFolderId) - * @method MovedCopiedEventType setOldItemId(ItemIdType $oldItemId) - * @method MovedCopiedEventType setOldParentFolderId(FolderIdType $oldParentFolderId) */ class MovedCopiedEventType extends BaseObjectChangedEventType { @@ -53,4 +49,37 @@ public function getOldParentFolderId() { return $this->oldParentFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return MovedCopiedEventType + */ + public function setOldFolderId(FolderIdType $value) + { + $this->oldFolderId = $this->castValueIfNeeded("oldFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return MovedCopiedEventType + */ + public function setOldItemId(ItemIdType $value) + { + $this->oldItemId = $this->castValueIfNeeded("oldItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return MovedCopiedEventType + */ + public function setOldParentFolderId(FolderIdType $value) + { + $this->oldParentFolderId = $this->castValueIfNeeded("oldParentFolderId", $value); + return $this; + } } diff --git a/src/API/Type/MultipleOperandBooleanExpressionType.php b/src/API/Type/MultipleOperandBooleanExpressionType.php index eed3006d..7ebf1451 100644 --- a/src/API/Type/MultipleOperandBooleanExpressionType.php +++ b/src/API/Type/MultipleOperandBooleanExpressionType.php @@ -9,29 +9,17 @@ * XSD Type: MultipleOperandBooleanExpressionType * * @method MultipleOperandBooleanExpressionType addContains(Contains $contains) - * @method MultipleOperandBooleanExpressionType setContains(array $contains) * @method MultipleOperandBooleanExpressionType addExcludes(Excludes $excludes) - * @method MultipleOperandBooleanExpressionType setExcludes(array $excludes) * @method MultipleOperandBooleanExpressionType addExists(Exists $exists) - * @method MultipleOperandBooleanExpressionType setExists(array $exists) * @method MultipleOperandBooleanExpressionType addIsEqualTo(IsEqualTo $isEqualTo) - * @method MultipleOperandBooleanExpressionType setIsEqualTo(array $isEqualTo) * @method MultipleOperandBooleanExpressionType addIsNotEqualTo(IsNotEqualTo $isNotEqualTo) - * @method MultipleOperandBooleanExpressionType setIsNotEqualTo(array $isNotEqualTo) * @method MultipleOperandBooleanExpressionType addIsGreaterThan(IsGreaterThan $isGreaterThan) - * @method MultipleOperandBooleanExpressionType setIsGreaterThan(array $isGreaterThan) * @method MultipleOperandBooleanExpressionType addIsGreaterThanOrEqualTo(IsGreaterThanOrEqualTo $isGreaterThanOrEqualTo) - * @method MultipleOperandBooleanExpressionType setIsGreaterThanOrEqualTo(array $isGreaterThanOrEqualTo) * @method MultipleOperandBooleanExpressionType addIsLessThan(IsLessThan $isLessThan) - * @method MultipleOperandBooleanExpressionType setIsLessThan(array $isLessThan) * @method MultipleOperandBooleanExpressionType addIsLessThanOrEqualTo(IsLessThanOrEqualTo $isLessThanOrEqualTo) - * @method MultipleOperandBooleanExpressionType setIsLessThanOrEqualTo(array $isLessThanOrEqualTo) * @method MultipleOperandBooleanExpressionType addAnd(AndElement $and) - * @method MultipleOperandBooleanExpressionType setAnd(array $and) * @method MultipleOperandBooleanExpressionType addNot(Not $not) - * @method MultipleOperandBooleanExpressionType setNot(array $not) * @method MultipleOperandBooleanExpressionType addOr(OrElement $or) - * @method MultipleOperandBooleanExpressionType setOr(array $or) */ class MultipleOperandBooleanExpressionType extends SearchExpressionType { @@ -191,4 +179,136 @@ public function getOr() { return $this->or; } + + /** + * @autogenerated This method is safe to replace + * @param $value Contains[] + * @return MultipleOperandBooleanExpressionType + */ + public function setContains(array $value) + { + $this->contains = $this->castValueIfNeeded("contains", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Excludes[] + * @return MultipleOperandBooleanExpressionType + */ + public function setExcludes(array $value) + { + $this->excludes = $this->castValueIfNeeded("excludes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Exists[] + * @return MultipleOperandBooleanExpressionType + */ + public function setExists(array $value) + { + $this->exists = $this->castValueIfNeeded("exists", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsEqualTo[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsEqualTo(array $value) + { + $this->isEqualTo = $this->castValueIfNeeded("isEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsNotEqualTo[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsNotEqualTo(array $value) + { + $this->isNotEqualTo = $this->castValueIfNeeded("isNotEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThan[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsGreaterThan(array $value) + { + $this->isGreaterThan = $this->castValueIfNeeded("isGreaterThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThanOrEqualTo[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsGreaterThanOrEqualTo(array $value) + { + $this->isGreaterThanOrEqualTo = $this->castValueIfNeeded("isGreaterThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThan[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsLessThan(array $value) + { + $this->isLessThan = $this->castValueIfNeeded("isLessThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThanOrEqualTo[] + * @return MultipleOperandBooleanExpressionType + */ + public function setIsLessThanOrEqualTo(array $value) + { + $this->isLessThanOrEqualTo = $this->castValueIfNeeded("isLessThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AndElement[] + * @return MultipleOperandBooleanExpressionType + */ + public function setAnd(array $value) + { + $this->and = $this->castValueIfNeeded("and", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Not[] + * @return MultipleOperandBooleanExpressionType + */ + public function setNot(array $value) + { + $this->not = $this->castValueIfNeeded("not", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OrElement[] + * @return MultipleOperandBooleanExpressionType + */ + public function setOr(array $value) + { + $this->or = $this->castValueIfNeeded("or", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfAllItemsType.php b/src/API/Type/NonEmptyArrayOfAllItemsType.php index c2e70a71..0e973c2f 100644 --- a/src/API/Type/NonEmptyArrayOfAllItemsType.php +++ b/src/API/Type/NonEmptyArrayOfAllItemsType.php @@ -11,49 +11,27 @@ * XSD Type: NonEmptyArrayOfAllItemsType * * @method NonEmptyArrayOfAllItemsType addItem(ItemType $item) - * @method NonEmptyArrayOfAllItemsType setItem(array $item) * @method NonEmptyArrayOfAllItemsType addMessage(MessageType $message) - * @method NonEmptyArrayOfAllItemsType setMessage(array $message) * @method NonEmptyArrayOfAllItemsType addCalendarItem(CalendarItemType $calendarItem) - * @method NonEmptyArrayOfAllItemsType setCalendarItem(array $calendarItem) * @method NonEmptyArrayOfAllItemsType addContact(ContactItemType $contact) - * @method NonEmptyArrayOfAllItemsType setContact(array $contact) * @method NonEmptyArrayOfAllItemsType addDistributionList(DistributionListType $distributionList) - * @method NonEmptyArrayOfAllItemsType setDistributionList(array $distributionList) * @method NonEmptyArrayOfAllItemsType addMeetingMessage(MeetingMessageType $meetingMessage) - * @method NonEmptyArrayOfAllItemsType setMeetingMessage(array $meetingMessage) * @method NonEmptyArrayOfAllItemsType addMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method NonEmptyArrayOfAllItemsType setMeetingRequest(array $meetingRequest) * @method NonEmptyArrayOfAllItemsType addMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method NonEmptyArrayOfAllItemsType setMeetingResponse(array $meetingResponse) * @method NonEmptyArrayOfAllItemsType addMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method NonEmptyArrayOfAllItemsType setMeetingCancellation(array $meetingCancellation) * @method NonEmptyArrayOfAllItemsType addTask(TaskType $task) - * @method NonEmptyArrayOfAllItemsType setTask(array $task) * @method NonEmptyArrayOfAllItemsType addPostItem(PostItemType $postItem) - * @method NonEmptyArrayOfAllItemsType setPostItem(array $postItem) * @method NonEmptyArrayOfAllItemsType addReplyToItem(ReplyToItemType $replyToItem) - * @method NonEmptyArrayOfAllItemsType setReplyToItem(array $replyToItem) * @method NonEmptyArrayOfAllItemsType addForwardItem(ForwardItemType $forwardItem) - * @method NonEmptyArrayOfAllItemsType setForwardItem(array $forwardItem) * @method NonEmptyArrayOfAllItemsType addReplyAllToItem(ReplyAllToItemType $replyAllToItem) - * @method NonEmptyArrayOfAllItemsType setReplyAllToItem(array $replyAllToItem) * @method NonEmptyArrayOfAllItemsType addAcceptItem(AcceptItemType $acceptItem) - * @method NonEmptyArrayOfAllItemsType setAcceptItem(array $acceptItem) * @method NonEmptyArrayOfAllItemsType addTentativelyAcceptItem(TentativelyAcceptItemType $tentativelyAcceptItem) - * @method NonEmptyArrayOfAllItemsType setTentativelyAcceptItem(array $tentativelyAcceptItem) * @method NonEmptyArrayOfAllItemsType addDeclineItem(DeclineItemType $declineItem) - * @method NonEmptyArrayOfAllItemsType setDeclineItem(array $declineItem) * @method NonEmptyArrayOfAllItemsType addCancelCalendarItem(CancelCalendarItemType $cancelCalendarItem) - * @method NonEmptyArrayOfAllItemsType setCancelCalendarItem(array $cancelCalendarItem) * @method NonEmptyArrayOfAllItemsType addRemoveItem(RemoveItemType $removeItem) - * @method NonEmptyArrayOfAllItemsType setRemoveItem(array $removeItem) * @method NonEmptyArrayOfAllItemsType addSuppressReadReceipt(SuppressReadReceiptType $suppressReadReceipt) - * @method NonEmptyArrayOfAllItemsType setSuppressReadReceipt(array $suppressReadReceipt) * @method NonEmptyArrayOfAllItemsType addPostReplyItem(PostReplyItemType $postReplyItem) - * @method NonEmptyArrayOfAllItemsType setPostReplyItem(array $postReplyItem) * @method NonEmptyArrayOfAllItemsType addAcceptSharingInvitation(AcceptSharingInvitationType $acceptSharingInvitation) - * @method NonEmptyArrayOfAllItemsType setAcceptSharingInvitation(array $acceptSharingInvitation) */ class NonEmptyArrayOfAllItemsType extends Type { @@ -343,4 +321,246 @@ public function getAcceptSharingInvitation() { return $this->acceptSharingInvitation; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setItem(array $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setMessage(array $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setCalendarItem(array $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setContact(array $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistributionListType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setDistributionList(array $value) + { + $this->distributionList = $this->castValueIfNeeded("distributionList", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setMeetingMessage(array $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setMeetingRequest(array $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setMeetingResponse(array $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setMeetingCancellation(array $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setTask(array $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setPostItem(array $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyToItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setReplyToItem(array $value) + { + $this->replyToItem = $this->castValueIfNeeded("replyToItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ForwardItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setForwardItem(array $value) + { + $this->forwardItem = $this->castValueIfNeeded("forwardItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyAllToItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setReplyAllToItem(array $value) + { + $this->replyAllToItem = $this->castValueIfNeeded("replyAllToItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AcceptItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setAcceptItem(array $value) + { + $this->acceptItem = $this->castValueIfNeeded("acceptItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TentativelyAcceptItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setTentativelyAcceptItem(array $value) + { + $this->tentativelyAcceptItem = $this->castValueIfNeeded("tentativelyAcceptItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeclineItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setDeclineItem(array $value) + { + $this->declineItem = $this->castValueIfNeeded("declineItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CancelCalendarItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setCancelCalendarItem(array $value) + { + $this->cancelCalendarItem = $this->castValueIfNeeded("cancelCalendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RemoveItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setRemoveItem(array $value) + { + $this->removeItem = $this->castValueIfNeeded("removeItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SuppressReadReceiptType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setSuppressReadReceipt(array $value) + { + $this->suppressReadReceipt = $this->castValueIfNeeded("suppressReadReceipt", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostReplyItemType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setPostReplyItem(array $value) + { + $this->postReplyItem = $this->castValueIfNeeded("postReplyItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AcceptSharingInvitationType[] + * @return NonEmptyArrayOfAllItemsType + */ + public function setAcceptSharingInvitation(array $value) + { + $this->acceptSharingInvitation = $this->castValueIfNeeded("acceptSharingInvitation", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfAlternateIdsType.php b/src/API/Type/NonEmptyArrayOfAlternateIdsType.php index 4057bf78..f5cef686 100644 --- a/src/API/Type/NonEmptyArrayOfAlternateIdsType.php +++ b/src/API/Type/NonEmptyArrayOfAlternateIdsType.php @@ -11,11 +11,8 @@ * XSD Type: NonEmptyArrayOfAlternateIdsType * * @method NonEmptyArrayOfAlternateIdsType addAlternateId(AlternateIdType $alternateId) - * @method NonEmptyArrayOfAlternateIdsType setAlternateId(array $alternateId) * @method NonEmptyArrayOfAlternateIdsType addAlternatePublicFolderId(AlternatePublicFolderIdType $alternatePublicFolderId) - * @method NonEmptyArrayOfAlternateIdsType setAlternatePublicFolderId(array $alternatePublicFolderId) * @method NonEmptyArrayOfAlternateIdsType addAlternatePublicFolderItemId(AlternatePublicFolderItemIdType $alternatePublicFolderItemId) - * @method NonEmptyArrayOfAlternateIdsType setAlternatePublicFolderItemId(array $alternatePublicFolderItemId) */ class NonEmptyArrayOfAlternateIdsType extends Type { @@ -58,4 +55,37 @@ public function getAlternatePublicFolderItemId() { return $this->alternatePublicFolderItemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value AlternateIdType[] + * @return NonEmptyArrayOfAlternateIdsType + */ + public function setAlternateId(array $value) + { + $this->alternateId = $this->castValueIfNeeded("alternateId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AlternatePublicFolderIdType[] + * @return NonEmptyArrayOfAlternateIdsType + */ + public function setAlternatePublicFolderId(array $value) + { + $this->alternatePublicFolderId = $this->castValueIfNeeded("alternatePublicFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AlternatePublicFolderItemIdType[] + * @return NonEmptyArrayOfAlternateIdsType + */ + public function setAlternatePublicFolderItemId(array $value) + { + $this->alternatePublicFolderItemId = $this->castValueIfNeeded("alternatePublicFolderItemId", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfAttachmentsType.php b/src/API/Type/NonEmptyArrayOfAttachmentsType.php index 6975dbb3..03b55982 100644 --- a/src/API/Type/NonEmptyArrayOfAttachmentsType.php +++ b/src/API/Type/NonEmptyArrayOfAttachmentsType.php @@ -11,9 +11,7 @@ * XSD Type: NonEmptyArrayOfAttachmentsType * * @method NonEmptyArrayOfAttachmentsType addItemAttachment(ItemAttachmentType $itemAttachment) - * @method NonEmptyArrayOfAttachmentsType setItemAttachment(array $itemAttachment) * @method NonEmptyArrayOfAttachmentsType addFileAttachment(FileAttachmentType $fileAttachment) - * @method NonEmptyArrayOfAttachmentsType setFileAttachment(array $fileAttachment) */ class NonEmptyArrayOfAttachmentsType extends Type { @@ -51,4 +49,26 @@ public function getItemAttachment() return $this->itemAttachment; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemAttachmentType[] + * @return NonEmptyArrayOfAttachmentsType + */ + public function setItemAttachment(array $value) + { + $this->itemAttachment = $this->castValueIfNeeded("itemAttachment", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FileAttachmentType[] + * @return NonEmptyArrayOfAttachmentsType + */ + public function setFileAttachment(array $value) + { + $this->fileAttachment = $this->castValueIfNeeded("fileAttachment", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfBaseFolderIdsType.php b/src/API/Type/NonEmptyArrayOfBaseFolderIdsType.php index e6fb7322..ebe3fdb9 100644 --- a/src/API/Type/NonEmptyArrayOfBaseFolderIdsType.php +++ b/src/API/Type/NonEmptyArrayOfBaseFolderIdsType.php @@ -11,9 +11,7 @@ * XSD Type: NonEmptyArrayOfBaseFolderIdsType * * @method NonEmptyArrayOfBaseFolderIdsType addFolderId(FolderIdType $folderId) - * @method NonEmptyArrayOfBaseFolderIdsType setFolderId(array $folderId) * @method NonEmptyArrayOfBaseFolderIdsType addDistinguishedFolderId(DistinguishedFolderIdType $distinguishedFolderId) - * @method NonEmptyArrayOfBaseFolderIdsType setDistinguishedFolderId(array $distinguishedFolderId) */ class NonEmptyArrayOfBaseFolderIdsType extends Type { @@ -43,4 +41,26 @@ public function getDistinguishedFolderId() { return $this->distinguishedFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType[] + * @return NonEmptyArrayOfBaseFolderIdsType + */ + public function setFolderId(array $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistinguishedFolderIdType[] + * @return NonEmptyArrayOfBaseFolderIdsType + */ + public function setDistinguishedFolderId(array $value) + { + $this->distinguishedFolderId = $this->castValueIfNeeded("distinguishedFolderId", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfBaseItemIdsType.php b/src/API/Type/NonEmptyArrayOfBaseItemIdsType.php index 4584b8a2..3d497130 100644 --- a/src/API/Type/NonEmptyArrayOfBaseItemIdsType.php +++ b/src/API/Type/NonEmptyArrayOfBaseItemIdsType.php @@ -11,11 +11,8 @@ * XSD Type: NonEmptyArrayOfBaseItemIdsType * * @method NonEmptyArrayOfBaseItemIdsType addItemId(ItemIdType $itemId) - * @method NonEmptyArrayOfBaseItemIdsType setItemId(array $itemId) * @method NonEmptyArrayOfBaseItemIdsType addOccurrenceItemId(OccurrenceItemIdType $occurrenceItemId) - * @method NonEmptyArrayOfBaseItemIdsType setOccurrenceItemId(array $occurrenceItemId) * @method NonEmptyArrayOfBaseItemIdsType addRecurringMasterItemId(RecurringMasterItemIdType $recurringMasterItemId) - * @method NonEmptyArrayOfBaseItemIdsType setRecurringMasterItemId(array $recurringMasterItemId) */ class NonEmptyArrayOfBaseItemIdsType extends Type { @@ -58,4 +55,37 @@ public function getRecurringMasterItemId() { return $this->recurringMasterItemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType[] + * @return NonEmptyArrayOfBaseItemIdsType + */ + public function setItemId(array $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OccurrenceItemIdType[] + * @return NonEmptyArrayOfBaseItemIdsType + */ + public function setOccurrenceItemId(array $value) + { + $this->occurrenceItemId = $this->castValueIfNeeded("occurrenceItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RecurringMasterItemIdType[] + * @return NonEmptyArrayOfBaseItemIdsType + */ + public function setRecurringMasterItemId(array $value) + { + $this->recurringMasterItemId = $this->castValueIfNeeded("recurringMasterItemId", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfFolderChangeDescriptionsType.php b/src/API/Type/NonEmptyArrayOfFolderChangeDescriptionsType.php index d002f852..6d58e6b4 100644 --- a/src/API/Type/NonEmptyArrayOfFolderChangeDescriptionsType.php +++ b/src/API/Type/NonEmptyArrayOfFolderChangeDescriptionsType.php @@ -11,11 +11,8 @@ * XSD Type: NonEmptyArrayOfFolderChangeDescriptionsType * * @method NonEmptyArrayOfFolderChangeDescriptionsType addAppendToFolderField(AppendToFolderFieldType $appendToFolderField) - * @method NonEmptyArrayOfFolderChangeDescriptionsType setAppendToFolderField(array $appendToFolderField) * @method NonEmptyArrayOfFolderChangeDescriptionsType addSetFolderField(SetFolderFieldType $setFolderField) - * @method NonEmptyArrayOfFolderChangeDescriptionsType setSetFolderField(array $setFolderField) * @method NonEmptyArrayOfFolderChangeDescriptionsType addDeleteFolderField(DeleteFolderFieldType $deleteFolderField) - * @method NonEmptyArrayOfFolderChangeDescriptionsType setDeleteFolderField(array $deleteFolderField) */ class NonEmptyArrayOfFolderChangeDescriptionsType extends Type { @@ -58,4 +55,37 @@ public function getDeleteFolderField() { return $this->deleteFolderField; } + + /** + * @autogenerated This method is safe to replace + * @param $value AppendToFolderFieldType[] + * @return NonEmptyArrayOfFolderChangeDescriptionsType + */ + public function setAppendToFolderField(array $value) + { + $this->appendToFolderField = $this->castValueIfNeeded("appendToFolderField", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SetFolderFieldType[] + * @return NonEmptyArrayOfFolderChangeDescriptionsType + */ + public function setSetFolderField(array $value) + { + $this->setFolderField = $this->castValueIfNeeded("setFolderField", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeleteFolderFieldType[] + * @return NonEmptyArrayOfFolderChangeDescriptionsType + */ + public function setDeleteFolderField(array $value) + { + $this->deleteFolderField = $this->castValueIfNeeded("deleteFolderField", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfFoldersType.php b/src/API/Type/NonEmptyArrayOfFoldersType.php index 80791ef2..897ebc70 100644 --- a/src/API/Type/NonEmptyArrayOfFoldersType.php +++ b/src/API/Type/NonEmptyArrayOfFoldersType.php @@ -11,15 +11,10 @@ * XSD Type: NonEmptyArrayOfFoldersType * * @method NonEmptyArrayOfFoldersType addFolder(FolderType $folder) - * @method NonEmptyArrayOfFoldersType setFolder(array $folder) * @method NonEmptyArrayOfFoldersType addCalendarFolder(CalendarFolderType $calendarFolder) - * @method NonEmptyArrayOfFoldersType setCalendarFolder(array $calendarFolder) * @method NonEmptyArrayOfFoldersType addContactsFolder(ContactsFolderType $contactsFolder) - * @method NonEmptyArrayOfFoldersType setContactsFolder(array $contactsFolder) * @method NonEmptyArrayOfFoldersType addSearchFolder(SearchFolderType $searchFolder) - * @method NonEmptyArrayOfFoldersType setSearchFolder(array $searchFolder) * @method NonEmptyArrayOfFoldersType addTasksFolder(TasksFolderType $tasksFolder) - * @method NonEmptyArrayOfFoldersType setTasksFolder(array $tasksFolder) */ class NonEmptyArrayOfFoldersType extends Type { @@ -88,4 +83,59 @@ public function getTasksFolder() { return $this->tasksFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderType[] + * @return NonEmptyArrayOfFoldersType + */ + public function setFolder(array $value) + { + $this->folder = $this->castValueIfNeeded("folder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarFolderType[] + * @return NonEmptyArrayOfFoldersType + */ + public function setCalendarFolder(array $value) + { + $this->calendarFolder = $this->castValueIfNeeded("calendarFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactsFolderType[] + * @return NonEmptyArrayOfFoldersType + */ + public function setContactsFolder(array $value) + { + $this->contactsFolder = $this->castValueIfNeeded("contactsFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchFolderType[] + * @return NonEmptyArrayOfFoldersType + */ + public function setSearchFolder(array $value) + { + $this->searchFolder = $this->castValueIfNeeded("searchFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TasksFolderType[] + * @return NonEmptyArrayOfFoldersType + */ + public function setTasksFolder(array $value) + { + $this->tasksFolder = $this->castValueIfNeeded("tasksFolder", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfItemChangeDescriptionsType.php b/src/API/Type/NonEmptyArrayOfItemChangeDescriptionsType.php index bc8706fe..cb082875 100644 --- a/src/API/Type/NonEmptyArrayOfItemChangeDescriptionsType.php +++ b/src/API/Type/NonEmptyArrayOfItemChangeDescriptionsType.php @@ -11,11 +11,8 @@ * XSD Type: NonEmptyArrayOfItemChangeDescriptionsType * * @method NonEmptyArrayOfItemChangeDescriptionsType addAppendToItemField(AppendToItemFieldType $appendToItemField) - * @method NonEmptyArrayOfItemChangeDescriptionsType setAppendToItemField(array $appendToItemField) * @method NonEmptyArrayOfItemChangeDescriptionsType addSetItemField(SetItemFieldType $setItemField) - * @method NonEmptyArrayOfItemChangeDescriptionsType setSetItemField(array $setItemField) * @method NonEmptyArrayOfItemChangeDescriptionsType addDeleteItemField(DeleteItemFieldType $deleteItemField) - * @method NonEmptyArrayOfItemChangeDescriptionsType setDeleteItemField(array $deleteItemField) */ class NonEmptyArrayOfItemChangeDescriptionsType extends Type { @@ -58,4 +55,37 @@ public function getDeleteItemField() { return $this->deleteItemField; } + + /** + * @autogenerated This method is safe to replace + * @param $value AppendToItemFieldType[] + * @return NonEmptyArrayOfItemChangeDescriptionsType + */ + public function setAppendToItemField(array $value) + { + $this->appendToItemField = $this->castValueIfNeeded("appendToItemField", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SetItemFieldType[] + * @return NonEmptyArrayOfItemChangeDescriptionsType + */ + public function setSetItemField(array $value) + { + $this->setItemField = $this->castValueIfNeeded("setItemField", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeleteItemFieldType[] + * @return NonEmptyArrayOfItemChangeDescriptionsType + */ + public function setDeleteItemField(array $value) + { + $this->deleteItemField = $this->castValueIfNeeded("deleteItemField", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfPathsToElementType.php b/src/API/Type/NonEmptyArrayOfPathsToElementType.php index 319ee9f8..9326b420 100644 --- a/src/API/Type/NonEmptyArrayOfPathsToElementType.php +++ b/src/API/Type/NonEmptyArrayOfPathsToElementType.php @@ -11,11 +11,8 @@ * XSD Type: NonEmptyArrayOfPathsToElementType * * @method NonEmptyArrayOfPathsToElementType addFieldURI(FieldURI $fieldURI) - * @method NonEmptyArrayOfPathsToElementType setFieldURI(array $fieldURI) * @method NonEmptyArrayOfPathsToElementType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method NonEmptyArrayOfPathsToElementType setIndexedFieldURI(array $indexedFieldURI) * @method NonEmptyArrayOfPathsToElementType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method NonEmptyArrayOfPathsToElementType setExtendedFieldURI(array $extendedFieldURI) */ class NonEmptyArrayOfPathsToElementType extends Type { @@ -58,4 +55,37 @@ public function getExtendedFieldURI() { return $this->extendedFieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return NonEmptyArrayOfPathsToElementType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return NonEmptyArrayOfPathsToElementType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return NonEmptyArrayOfPathsToElementType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } } diff --git a/src/API/Type/NonEmptyArrayOfResponseObjectsType.php b/src/API/Type/NonEmptyArrayOfResponseObjectsType.php index 723401c2..d3d4403b 100644 --- a/src/API/Type/NonEmptyArrayOfResponseObjectsType.php +++ b/src/API/Type/NonEmptyArrayOfResponseObjectsType.php @@ -11,27 +11,16 @@ * XSD Type: NonEmptyArrayOfResponseObjectsType * * @method NonEmptyArrayOfResponseObjectsType addAcceptItem(AcceptItemType $acceptItem) - * @method NonEmptyArrayOfResponseObjectsType setAcceptItem(array $acceptItem) * @method NonEmptyArrayOfResponseObjectsType addTentativelyAcceptItem(TentativelyAcceptItemType $tentativelyAcceptItem) - * @method NonEmptyArrayOfResponseObjectsType setTentativelyAcceptItem(array $tentativelyAcceptItem) * @method NonEmptyArrayOfResponseObjectsType addDeclineItem(DeclineItemType $declineItem) - * @method NonEmptyArrayOfResponseObjectsType setDeclineItem(array $declineItem) * @method NonEmptyArrayOfResponseObjectsType addReplyToItem(ReplyToItemType $replyToItem) - * @method NonEmptyArrayOfResponseObjectsType setReplyToItem(array $replyToItem) * @method NonEmptyArrayOfResponseObjectsType addForwardItem(ForwardItemType $forwardItem) - * @method NonEmptyArrayOfResponseObjectsType setForwardItem(array $forwardItem) * @method NonEmptyArrayOfResponseObjectsType addReplyAllToItem(ReplyAllToItemType $replyAllToItem) - * @method NonEmptyArrayOfResponseObjectsType setReplyAllToItem(array $replyAllToItem) * @method NonEmptyArrayOfResponseObjectsType addCancelCalendarItem(CancelCalendarItemType $cancelCalendarItem) - * @method NonEmptyArrayOfResponseObjectsType setCancelCalendarItem(array $cancelCalendarItem) * @method NonEmptyArrayOfResponseObjectsType addRemoveItem(RemoveItemType $removeItem) - * @method NonEmptyArrayOfResponseObjectsType setRemoveItem(array $removeItem) * @method NonEmptyArrayOfResponseObjectsType addSuppressReadReceipt(SuppressReadReceiptType $suppressReadReceipt) - * @method NonEmptyArrayOfResponseObjectsType setSuppressReadReceipt(array $suppressReadReceipt) * @method NonEmptyArrayOfResponseObjectsType addPostReplyItem(PostReplyItemType $postReplyItem) - * @method NonEmptyArrayOfResponseObjectsType setPostReplyItem(array $postReplyItem) * @method NonEmptyArrayOfResponseObjectsType addAcceptSharingInvitation(AcceptSharingInvitationType $acceptSharingInvitation) - * @method NonEmptyArrayOfResponseObjectsType setAcceptSharingInvitation(array $acceptSharingInvitation) */ class NonEmptyArrayOfResponseObjectsType extends Type { @@ -178,4 +167,125 @@ public function getAcceptSharingInvitation() { return $this->acceptSharingInvitation; } + + /** + * @autogenerated This method is safe to replace + * @param $value AcceptItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setAcceptItem(array $value) + { + $this->acceptItem = $this->castValueIfNeeded("acceptItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TentativelyAcceptItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setTentativelyAcceptItem(array $value) + { + $this->tentativelyAcceptItem = $this->castValueIfNeeded("tentativelyAcceptItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DeclineItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setDeclineItem(array $value) + { + $this->declineItem = $this->castValueIfNeeded("declineItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyToItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setReplyToItem(array $value) + { + $this->replyToItem = $this->castValueIfNeeded("replyToItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ForwardItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setForwardItem(array $value) + { + $this->forwardItem = $this->castValueIfNeeded("forwardItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyAllToItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setReplyAllToItem(array $value) + { + $this->replyAllToItem = $this->castValueIfNeeded("replyAllToItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CancelCalendarItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setCancelCalendarItem(array $value) + { + $this->cancelCalendarItem = $this->castValueIfNeeded("cancelCalendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RemoveItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setRemoveItem(array $value) + { + $this->removeItem = $this->castValueIfNeeded("removeItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SuppressReadReceiptType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setSuppressReadReceipt(array $value) + { + $this->suppressReadReceipt = $this->castValueIfNeeded("suppressReadReceipt", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostReplyItemType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setPostReplyItem(array $value) + { + $this->postReplyItem = $this->castValueIfNeeded("postReplyItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AcceptSharingInvitationType[] + * @return NonEmptyArrayOfResponseObjectsType + */ + public function setAcceptSharingInvitation(array $value) + { + $this->acceptSharingInvitation = $this->castValueIfNeeded("acceptSharingInvitation", $value); + return $this; + } } diff --git a/src/API/Type/NotType.php b/src/API/Type/NotType.php index 0322ccbb..9bcb4e50 100644 --- a/src/API/Type/NotType.php +++ b/src/API/Type/NotType.php @@ -9,29 +9,17 @@ * XSD Type: NotType * * @method NotType addContains(Contains $contains) - * @method NotType setContains(array $contains) * @method NotType addExcludes(Excludes $excludes) - * @method NotType setExcludes(array $excludes) * @method NotType addExists(Exists $exists) - * @method NotType setExists(array $exists) * @method NotType addIsEqualTo(IsEqualTo $isEqualTo) - * @method NotType setIsEqualTo(array $isEqualTo) * @method NotType addIsNotEqualTo(IsNotEqualTo $isNotEqualTo) - * @method NotType setIsNotEqualTo(array $isNotEqualTo) * @method NotType addIsGreaterThan(IsGreaterThan $isGreaterThan) - * @method NotType setIsGreaterThan(array $isGreaterThan) * @method NotType addIsGreaterThanOrEqualTo(IsGreaterThanOrEqualTo $isGreaterThanOrEqualTo) - * @method NotType setIsGreaterThanOrEqualTo(array $isGreaterThanOrEqualTo) * @method NotType addIsLessThan(IsLessThan $isLessThan) - * @method NotType setIsLessThan(array $isLessThan) * @method NotType addIsLessThanOrEqualTo(IsLessThanOrEqualTo $isLessThanOrEqualTo) - * @method NotType setIsLessThanOrEqualTo(array $isLessThanOrEqualTo) * @method NotType addAnd(AndElement $and) - * @method NotType setAnd(array $and) * @method NotType addNot(Not $not) - * @method NotType setNot(array $not) * @method NotType addOr(OrElement $or) - * @method NotType setOr(array $or) */ class NotType extends SearchExpressionType { @@ -191,4 +179,136 @@ public function getOr() { return $this->or; } + + /** + * @autogenerated This method is safe to replace + * @param $value Contains[] + * @return NotType + */ + public function setContains(array $value) + { + $this->contains = $this->castValueIfNeeded("contains", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Excludes[] + * @return NotType + */ + public function setExcludes(array $value) + { + $this->excludes = $this->castValueIfNeeded("excludes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Exists[] + * @return NotType + */ + public function setExists(array $value) + { + $this->exists = $this->castValueIfNeeded("exists", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsEqualTo[] + * @return NotType + */ + public function setIsEqualTo(array $value) + { + $this->isEqualTo = $this->castValueIfNeeded("isEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsNotEqualTo[] + * @return NotType + */ + public function setIsNotEqualTo(array $value) + { + $this->isNotEqualTo = $this->castValueIfNeeded("isNotEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThan[] + * @return NotType + */ + public function setIsGreaterThan(array $value) + { + $this->isGreaterThan = $this->castValueIfNeeded("isGreaterThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThanOrEqualTo[] + * @return NotType + */ + public function setIsGreaterThanOrEqualTo(array $value) + { + $this->isGreaterThanOrEqualTo = $this->castValueIfNeeded("isGreaterThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThan[] + * @return NotType + */ + public function setIsLessThan(array $value) + { + $this->isLessThan = $this->castValueIfNeeded("isLessThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThanOrEqualTo[] + * @return NotType + */ + public function setIsLessThanOrEqualTo(array $value) + { + $this->isLessThanOrEqualTo = $this->castValueIfNeeded("isLessThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AndElement[] + * @return NotType + */ + public function setAnd(array $value) + { + $this->and = $this->castValueIfNeeded("and", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Not[] + * @return NotType + */ + public function setNot(array $value) + { + $this->not = $this->castValueIfNeeded("not", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OrElement[] + * @return NotType + */ + public function setOr(array $value) + { + $this->or = $this->castValueIfNeeded("or", $value); + return $this; + } } diff --git a/src/API/Type/NotificationType.php b/src/API/Type/NotificationType.php index 7f46519b..8704e26b 100644 --- a/src/API/Type/NotificationType.php +++ b/src/API/Type/NotificationType.php @@ -10,25 +10,14 @@ * * XSD Type: NotificationType * - * @method NotificationType setSubscriptionId(string $subscriptionId) - * @method NotificationType setPreviousWatermark(string $previousWatermark) - * @method NotificationType setMoreEvents(boolean $moreEvents) * @method NotificationType addCopiedEvent(MovedCopiedEventType $copiedEvent) - * @method NotificationType setCopiedEvent(array $copiedEvent) * @method NotificationType addCreatedEvent(BaseObjectChangedEventType $createdEvent) - * @method NotificationType setCreatedEvent(array $createdEvent) * @method NotificationType addDeletedEvent(BaseObjectChangedEventType $deletedEvent) - * @method NotificationType setDeletedEvent(array $deletedEvent) * @method NotificationType addModifiedEvent(ModifiedEventType $modifiedEvent) - * @method NotificationType setModifiedEvent(array $modifiedEvent) * @method NotificationType addMovedEvent(MovedCopiedEventType $movedEvent) - * @method NotificationType setMovedEvent(array $movedEvent) * @method NotificationType addNewMailEvent(BaseObjectChangedEventType $newMailEvent) - * @method NotificationType setNewMailEvent(array $newMailEvent) * @method NotificationType addStatusEvent(BaseNotificationEventType $statusEvent) - * @method NotificationType setStatusEvent(array $statusEvent) * @method NotificationType addFreeBusyChangedEvent(BaseObjectChangedEventType $freeBusyChangedEvent) - * @method NotificationType setFreeBusyChangedEvent(array $freeBusyChangedEvent) */ class NotificationType extends Type { @@ -104,14 +93,6 @@ public function getPreviousWatermark() return $this->previousWatermark; } - /** - * @returns bool - */ - public function isMoreEvents() - { - return ((bool) $this->moreEvents); - } - /** * @return boolean */ @@ -183,4 +164,133 @@ public function getFreeBusyChangedEvent() { return $this->freeBusyChangedEvent; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return NotificationType + */ + public function setSubscriptionId($value) + { + $this->subscriptionId = $this->castValueIfNeeded("subscriptionId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return NotificationType + */ + public function setPreviousWatermark($value) + { + $this->previousWatermark = $this->castValueIfNeeded("previousWatermark", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMoreEvents() + { + return ((bool) $this->moreEvents); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return NotificationType + */ + public function setMoreEvents($value) + { + $this->moreEvents = $this->castValueIfNeeded("moreEvents", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MovedCopiedEventType[] + * @return NotificationType + */ + public function setCopiedEvent(array $value) + { + $this->copiedEvent = $this->castValueIfNeeded("copiedEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BaseObjectChangedEventType[] + * @return NotificationType + */ + public function setCreatedEvent(array $value) + { + $this->createdEvent = $this->castValueIfNeeded("createdEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BaseObjectChangedEventType[] + * @return NotificationType + */ + public function setDeletedEvent(array $value) + { + $this->deletedEvent = $this->castValueIfNeeded("deletedEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ModifiedEventType[] + * @return NotificationType + */ + public function setModifiedEvent(array $value) + { + $this->modifiedEvent = $this->castValueIfNeeded("modifiedEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MovedCopiedEventType[] + * @return NotificationType + */ + public function setMovedEvent(array $value) + { + $this->movedEvent = $this->castValueIfNeeded("movedEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BaseObjectChangedEventType[] + * @return NotificationType + */ + public function setNewMailEvent(array $value) + { + $this->newMailEvent = $this->castValueIfNeeded("newMailEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BaseNotificationEventType[] + * @return NotificationType + */ + public function setStatusEvent(array $value) + { + $this->statusEvent = $this->castValueIfNeeded("statusEvent", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value BaseObjectChangedEventType[] + * @return NotificationType + */ + public function setFreeBusyChangedEvent(array $value) + { + $this->freeBusyChangedEvent = $this->castValueIfNeeded("freeBusyChangedEvent", $value); + return $this; + } } diff --git a/src/API/Type/NumberedRecurrenceRangeType.php b/src/API/Type/NumberedRecurrenceRangeType.php index 61fcc762..83efb093 100644 --- a/src/API/Type/NumberedRecurrenceRangeType.php +++ b/src/API/Type/NumberedRecurrenceRangeType.php @@ -7,8 +7,6 @@ * * * XSD Type: NumberedRecurrenceRangeType - * - * @method NumberedRecurrenceRangeType setNumberOfOccurrences(integer $numberOfOccurrences) */ class NumberedRecurrenceRangeType extends RecurrenceRangeBaseType { @@ -25,4 +23,15 @@ public function getNumberOfOccurrences() { return $this->numberOfOccurrences; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return NumberedRecurrenceRangeType + */ + public function setNumberOfOccurrences($value) + { + $this->numberOfOccurrences = $this->castValueIfNeeded("numberOfOccurrences", $value); + return $this; + } } diff --git a/src/API/Type/OccurrenceInfoType.php b/src/API/Type/OccurrenceInfoType.php index f903c47b..4e96eff3 100644 --- a/src/API/Type/OccurrenceInfoType.php +++ b/src/API/Type/OccurrenceInfoType.php @@ -9,11 +9,6 @@ * * * XSD Type: OccurrenceInfoType - * - * @method OccurrenceInfoType setItemId(ItemIdType $itemId) - * @method OccurrenceInfoType setStart(\DateTime $start) - * @method OccurrenceInfoType setEnd(\DateTime $end) - * @method OccurrenceInfoType setOriginalStart(\DateTime $originalStart) */ class OccurrenceInfoType extends Type { @@ -75,4 +70,48 @@ public function getOriginalStart() { return $this->originalStart; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return OccurrenceInfoType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return OccurrenceInfoType + */ + public function setStart(\DateTime|string $value) + { + $this->start = $this->castValueIfNeeded("start", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return OccurrenceInfoType + */ + public function setEnd(\DateTime|string $value) + { + $this->end = $this->castValueIfNeeded("end", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return OccurrenceInfoType + */ + public function setOriginalStart(\DateTime|string $value) + { + $this->originalStart = $this->castValueIfNeeded("originalStart", $value); + return $this; + } } diff --git a/src/API/Type/OccurrenceItemIdType.php b/src/API/Type/OccurrenceItemIdType.php index 275081a8..6d6de3ff 100644 --- a/src/API/Type/OccurrenceItemIdType.php +++ b/src/API/Type/OccurrenceItemIdType.php @@ -7,10 +7,6 @@ * * * XSD Type: OccurrenceItemIdType - * - * @method OccurrenceItemIdType setRecurringMasterId(string $recurringMasterId) - * @method OccurrenceItemIdType setChangeKey(string $changeKey) - * @method OccurrenceItemIdType setInstanceIndex(integer $instanceIndex) */ class OccurrenceItemIdType extends BaseItemIdType { @@ -53,4 +49,37 @@ public function getInstanceIndex() { return $this->instanceIndex; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return OccurrenceItemIdType + */ + public function setRecurringMasterId($value) + { + $this->recurringMasterId = $this->castValueIfNeeded("recurringMasterId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return OccurrenceItemIdType + */ + public function setChangeKey($value) + { + $this->changeKey = $this->castValueIfNeeded("changeKey", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return OccurrenceItemIdType + */ + public function setInstanceIndex($value) + { + $this->instanceIndex = $this->castValueIfNeeded("instanceIndex", $value); + return $this; + } } diff --git a/src/API/Type/OpenAsAdminOrSystemServiceType.php b/src/API/Type/OpenAsAdminOrSystemServiceType.php index 922ffa25..ac21809a 100644 --- a/src/API/Type/OpenAsAdminOrSystemServiceType.php +++ b/src/API/Type/OpenAsAdminOrSystemServiceType.php @@ -9,9 +9,6 @@ * * * XSD Type: OpenAsAdminOrSystemServiceType - * - * @method OpenAsAdminOrSystemServiceType setLogonType(string $logonType) - * @method OpenAsAdminOrSystemServiceType setConnectingSID(ConnectingSIDType $connectingSID) */ class OpenAsAdminOrSystemServiceType extends Type { @@ -41,4 +38,26 @@ public function getConnectingSID() { return $this->connectingSID; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return OpenAsAdminOrSystemServiceType + */ + public function setLogonType($value) + { + $this->logonType = $this->castValueIfNeeded("logonType", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ConnectingSIDType + * @return OpenAsAdminOrSystemServiceType + */ + public function setConnectingSID(ConnectingSIDType $value) + { + $this->connectingSID = $this->castValueIfNeeded("connectingSID", $value); + return $this; + } } diff --git a/src/API/Type/OutOfOfficeMailTipType.php b/src/API/Type/OutOfOfficeMailTipType.php index 572d9144..6c396e48 100644 --- a/src/API/Type/OutOfOfficeMailTipType.php +++ b/src/API/Type/OutOfOfficeMailTipType.php @@ -9,9 +9,6 @@ * * * XSD Type: OutOfOfficeMailTip - * - * @method OutOfOfficeMailTipType setReplyBody(ReplyBodyType $replyBody) - * @method OutOfOfficeMailTipType setDuration(DurationType $duration) */ class OutOfOfficeMailTipType extends Type { @@ -41,4 +38,26 @@ public function getDuration() { return $this->duration; } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyBodyType + * @return OutOfOfficeMailTipType + */ + public function setReplyBody(ReplyBodyType $value) + { + $this->replyBody = $this->castValueIfNeeded("replyBody", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DurationType + * @return OutOfOfficeMailTipType + */ + public function setDuration(DurationType $value) + { + $this->duration = $this->castValueIfNeeded("duration", $value); + return $this; + } } diff --git a/src/API/Type/PathToExceptionFieldType.php b/src/API/Type/PathToExceptionFieldType.php index 41852d91..50a45dc7 100644 --- a/src/API/Type/PathToExceptionFieldType.php +++ b/src/API/Type/PathToExceptionFieldType.php @@ -7,8 +7,6 @@ * * * XSD Type: PathToExceptionFieldType - * - * @method PathToExceptionFieldType setFieldURI(string $fieldURI) */ class PathToExceptionFieldType extends BasePathToElementType { @@ -25,4 +23,15 @@ public function getFieldURI() { return $this->fieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToExceptionFieldType + */ + public function setFieldURI($value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } } diff --git a/src/API/Type/PathToExtendedFieldType.php b/src/API/Type/PathToExtendedFieldType.php index 59fa2a5a..401b880f 100644 --- a/src/API/Type/PathToExtendedFieldType.php +++ b/src/API/Type/PathToExtendedFieldType.php @@ -5,19 +5,14 @@ /** * Class representing PathToExtendedFieldType * - * Represents an extended property. Note that there are only a couple of valid attribute + * Represents an extended property. Note that there are only a couple of valid + * attribute * combinations. Note that all occurances require the PropertyType attribute. * - * 1. (DistinguishedPropertySetId || PropertySetId) + (PropertyName || Property Id) + * 1. (DistinguishedPropertySetId || PropertySetId) + (PropertyName || Property + * Id) * 2. PropertyTag * XSD Type: PathToExtendedFieldType - * - * @method PathToExtendedFieldType setDistinguishedPropertySetId(string $distinguishedPropertySetId) - * @method PathToExtendedFieldType setPropertySetId(string $propertySetId) - * @method PathToExtendedFieldType setPropertyTag(integer $propertyTag) - * @method PathToExtendedFieldType setPropertyName(string $propertyName) - * @method PathToExtendedFieldType setPropertyId(integer $propertyId) - * @method PathToExtendedFieldType setPropertyType(string $propertyType) */ class PathToExtendedFieldType extends BasePathToElementType { @@ -99,4 +94,70 @@ public function getPropertyType() { return $this->propertyType; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToExtendedFieldType + */ + public function setDistinguishedPropertySetId($value) + { + $this->distinguishedPropertySetId = $this->castValueIfNeeded("distinguishedPropertySetId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToExtendedFieldType + */ + public function setPropertySetId($value) + { + $this->propertySetId = $this->castValueIfNeeded("propertySetId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return PathToExtendedFieldType + */ + public function setPropertyTag($value) + { + $this->propertyTag = $this->castValueIfNeeded("propertyTag", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToExtendedFieldType + */ + public function setPropertyName($value) + { + $this->propertyName = $this->castValueIfNeeded("propertyName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return PathToExtendedFieldType + */ + public function setPropertyId($value) + { + $this->propertyId = $this->castValueIfNeeded("propertyId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToExtendedFieldType + */ + public function setPropertyType($value) + { + $this->propertyType = $this->castValueIfNeeded("propertyType", $value); + return $this; + } } diff --git a/src/API/Type/PathToIndexedFieldType.php b/src/API/Type/PathToIndexedFieldType.php index 8b2879c6..ffa796cc 100644 --- a/src/API/Type/PathToIndexedFieldType.php +++ b/src/API/Type/PathToIndexedFieldType.php @@ -7,9 +7,6 @@ * * * XSD Type: PathToIndexedFieldType - * - * @method PathToIndexedFieldType setFieldURI(string $fieldURI) - * @method PathToIndexedFieldType setFieldIndex(string $fieldIndex) */ class PathToIndexedFieldType extends BasePathToElementType { @@ -39,4 +36,26 @@ public function getFieldIndex() { return $this->fieldIndex; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToIndexedFieldType + */ + public function setFieldURI($value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToIndexedFieldType + */ + public function setFieldIndex($value) + { + $this->fieldIndex = $this->castValueIfNeeded("fieldIndex", $value); + return $this; + } } diff --git a/src/API/Type/PathToUnindexedFieldType.php b/src/API/Type/PathToUnindexedFieldType.php index 92939ce7..5f779f8b 100644 --- a/src/API/Type/PathToUnindexedFieldType.php +++ b/src/API/Type/PathToUnindexedFieldType.php @@ -7,8 +7,6 @@ * * * XSD Type: PathToUnindexedFieldType - * - * @method PathToUnindexedFieldType setFieldURI(string $fieldURI) */ class PathToUnindexedFieldType extends BasePathToElementType { @@ -25,4 +23,15 @@ public function getFieldURI() { return $this->fieldURI; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PathToUnindexedFieldType + */ + public function setFieldURI($value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } } diff --git a/src/API/Type/PeriodType.php b/src/API/Type/PeriodType.php index b80c6d12..0db7955b 100644 --- a/src/API/Type/PeriodType.php +++ b/src/API/Type/PeriodType.php @@ -9,10 +9,6 @@ * * * XSD Type: PeriodType - * - * @method PeriodType setBias(\DateInterval $bias) - * @method PeriodType setName(string $name) - * @method PeriodType setId(string $id) */ class PeriodType extends Type { @@ -55,4 +51,37 @@ public function getId() { return $this->id; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateInterval + * @return PeriodType + */ + public function setBias(\DateInterval $value) + { + $this->bias = $this->castValueIfNeeded("bias", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PeriodType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PeriodType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } } diff --git a/src/API/Type/PermissionSetType.php b/src/API/Type/PermissionSetType.php index 88ffc480..0185ac37 100644 --- a/src/API/Type/PermissionSetType.php +++ b/src/API/Type/PermissionSetType.php @@ -11,9 +11,7 @@ * XSD Type: PermissionSetType * * @method PermissionSetType addPermissions(PermissionType $permissions) - * @method PermissionSetType setPermissions(array $permissions) * @method PermissionSetType addUnknownEntries(string $unknownEntries) - * @method PermissionSetType setUnknownEntries(array $unknownEntries) */ class PermissionSetType extends Type { @@ -43,4 +41,26 @@ public function getUnknownEntries() { return $this->unknownEntries; } + + /** + * @autogenerated This method is safe to replace + * @param $value PermissionType[] + * @return PermissionSetType + */ + public function setPermissions(array $value) + { + $this->permissions = $this->castValueIfNeeded("permissions", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return PermissionSetType + */ + public function setUnknownEntries(array $value) + { + $this->unknownEntries = $this->castValueIfNeeded("unknownEntries", $value); + return $this; + } } diff --git a/src/API/Type/PermissionType.php b/src/API/Type/PermissionType.php index 90d1951f..8fc93b65 100644 --- a/src/API/Type/PermissionType.php +++ b/src/API/Type/PermissionType.php @@ -7,9 +7,6 @@ * * A permission on a folder * XSD Type: PermissionType - * - * @method PermissionType setReadItems(string $readItems) - * @method PermissionType setPermissionLevel(string $permissionLevel) */ class PermissionType extends BasePermissionType { @@ -39,4 +36,26 @@ public function getPermissionLevel() { return $this->permissionLevel; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PermissionType + */ + public function setReadItems($value) + { + $this->readItems = $this->castValueIfNeeded("readItems", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PermissionType + */ + public function setPermissionLevel($value) + { + $this->permissionLevel = $this->castValueIfNeeded("permissionLevel", $value); + return $this; + } } diff --git a/src/API/Type/PhoneCallIdType.php b/src/API/Type/PhoneCallIdType.php index e553a817..ff2d3c55 100644 --- a/src/API/Type/PhoneCallIdType.php +++ b/src/API/Type/PhoneCallIdType.php @@ -9,8 +9,6 @@ * * * XSD Type: PhoneCallIdType - * - * @method PhoneCallIdType setId(string $id) */ class PhoneCallIdType extends Type { @@ -27,4 +25,15 @@ public function getId() { return $this->id; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhoneCallIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } } diff --git a/src/API/Type/PhoneCallInformationType.php b/src/API/Type/PhoneCallInformationType.php index eee4392b..08854f29 100644 --- a/src/API/Type/PhoneCallInformationType.php +++ b/src/API/Type/PhoneCallInformationType.php @@ -9,11 +9,6 @@ * * * XSD Type: PhoneCallInformationType - * - * @method PhoneCallInformationType setPhoneCallState(string $phoneCallState) - * @method PhoneCallInformationType setConnectionFailureCause(string $connectionFailureCause) - * @method PhoneCallInformationType setSIPResponseText(string $sIPResponseText) - * @method PhoneCallInformationType setSIPResponseCode(integer $sIPResponseCode) */ class PhoneCallInformationType extends Type { @@ -69,4 +64,48 @@ public function getSIPResponseCode() { return $this->sIPResponseCode; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhoneCallInformationType + */ + public function setPhoneCallState($value) + { + $this->phoneCallState = $this->castValueIfNeeded("phoneCallState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhoneCallInformationType + */ + public function setConnectionFailureCause($value) + { + $this->connectionFailureCause = $this->castValueIfNeeded("connectionFailureCause", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhoneCallInformationType + */ + public function setSIPResponseText($value) + { + $this->sIPResponseText = $this->castValueIfNeeded("sIPResponseText", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return PhoneCallInformationType + */ + public function setSIPResponseCode($value) + { + $this->sIPResponseCode = $this->castValueIfNeeded("sIPResponseCode", $value); + return $this; + } } diff --git a/src/API/Type/PhoneNumberDictionaryEntryType.php b/src/API/Type/PhoneNumberDictionaryEntryType.php index 07604650..dbe4b8c4 100644 --- a/src/API/Type/PhoneNumberDictionaryEntryType.php +++ b/src/API/Type/PhoneNumberDictionaryEntryType.php @@ -9,8 +9,6 @@ * * * XSD Type: PhoneNumberDictionaryEntryType - * - * @method PhoneNumberDictionaryEntryType setKey(string $key) */ class PhoneNumberDictionaryEntryType extends Type { @@ -27,4 +25,15 @@ public function getKey() { return $this->key; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhoneNumberDictionaryEntryType + */ + public function setKey($value) + { + $this->key = $this->castValueIfNeeded("key", $value); + return $this; + } } diff --git a/src/API/Type/PhysicalAddressDictionaryEntryType.php b/src/API/Type/PhysicalAddressDictionaryEntryType.php index 13baf6d5..92d56030 100644 --- a/src/API/Type/PhysicalAddressDictionaryEntryType.php +++ b/src/API/Type/PhysicalAddressDictionaryEntryType.php @@ -9,13 +9,6 @@ * * * XSD Type: PhysicalAddressDictionaryEntryType - * - * @method PhysicalAddressDictionaryEntryType setKey(string $key) - * @method PhysicalAddressDictionaryEntryType setStreet(string $street) - * @method PhysicalAddressDictionaryEntryType setCity(string $city) - * @method PhysicalAddressDictionaryEntryType setState(string $state) - * @method PhysicalAddressDictionaryEntryType setCountryOrRegion(string $countryOrRegion) - * @method PhysicalAddressDictionaryEntryType setPostalCode(string $postalCode) */ class PhysicalAddressDictionaryEntryType extends Type { @@ -97,4 +90,70 @@ public function getPostalCode() { return $this->postalCode; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setKey($value) + { + $this->key = $this->castValueIfNeeded("key", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setStreet($value) + { + $this->street = $this->castValueIfNeeded("street", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setCity($value) + { + $this->city = $this->castValueIfNeeded("city", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setState($value) + { + $this->state = $this->castValueIfNeeded("state", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setCountryOrRegion($value) + { + $this->countryOrRegion = $this->castValueIfNeeded("countryOrRegion", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PhysicalAddressDictionaryEntryType + */ + public function setPostalCode($value) + { + $this->postalCode = $this->castValueIfNeeded("postalCode", $value); + return $this; + } } diff --git a/src/API/Type/PostItemType.php b/src/API/Type/PostItemType.php index a32cd836..0da60f96 100644 --- a/src/API/Type/PostItemType.php +++ b/src/API/Type/PostItemType.php @@ -7,15 +7,6 @@ * * * XSD Type: PostItemType - * - * @method PostItemType setConversationIndex(string $conversationIndex) - * @method PostItemType setConversationTopic(string $conversationTopic) - * @method PostItemType setFrom(SingleRecipientType $from) - * @method PostItemType setInternetMessageId(string $internetMessageId) - * @method PostItemType setIsRead(boolean $isRead) - * @method PostItemType setPostedTime(\DateTime $postedTime) - * @method PostItemType setReferences(string $references) - * @method PostItemType setSender(SingleRecipientType $sender) */ class PostItemType extends ItemType { @@ -96,14 +87,6 @@ public function getInternetMessageId() return $this->internetMessageId; } - /** - * @returns bool - */ - public function isRead() - { - return ((bool) $this->isRead); - } - /** * @return boolean */ @@ -135,4 +118,100 @@ public function getSender() { return $this->sender; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PostItemType + */ + public function setConversationIndex($value) + { + $this->conversationIndex = $this->castValueIfNeeded("conversationIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PostItemType + */ + public function setConversationTopic($value) + { + $this->conversationTopic = $this->castValueIfNeeded("conversationTopic", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return PostItemType + */ + public function setFrom(SingleRecipientType $value) + { + $this->from = $this->castValueIfNeeded("from", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PostItemType + */ + public function setInternetMessageId($value) + { + $this->internetMessageId = $this->castValueIfNeeded("internetMessageId", $value); + return $this; + } + + /** + * @returns bool + */ + public function isRead() + { + return ((bool) $this->isRead); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return PostItemType + */ + public function setIsRead($value) + { + $this->isRead = $this->castValueIfNeeded("isRead", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return PostItemType + */ + public function setPostedTime(\DateTime|string $value) + { + $this->postedTime = $this->castValueIfNeeded("postedTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PostItemType + */ + public function setReferences($value) + { + $this->references = $this->castValueIfNeeded("references", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SingleRecipientType + * @return PostItemType + */ + public function setSender(SingleRecipientType $value) + { + $this->sender = $this->castValueIfNeeded("sender", $value); + return $this; + } } diff --git a/src/API/Type/PostReplyItemType.php b/src/API/Type/PostReplyItemType.php index e9ee11f9..b402474d 100644 --- a/src/API/Type/PostReplyItemType.php +++ b/src/API/Type/PostReplyItemType.php @@ -7,8 +7,6 @@ * * * XSD Type: PostReplyItemType - * - * @method PostReplyItemType setNewBodyContent(BodyType $newBodyContent) */ class PostReplyItemType extends PostReplyItemBaseType { @@ -25,4 +23,15 @@ public function getNewBodyContent() { return $this->newBodyContent; } + + /** + * @autogenerated This method is safe to replace + * @param $value BodyType + * @return PostReplyItemType + */ + public function setNewBodyContent(BodyType $value) + { + $this->newBodyContent = $this->castValueIfNeeded("newBodyContent", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRuleActionType.php b/src/API/Type/ProtectionRuleActionType.php index fd7daa15..5a331b2d 100644 --- a/src/API/Type/ProtectionRuleActionType.php +++ b/src/API/Type/ProtectionRuleActionType.php @@ -10,9 +10,7 @@ * * XSD Type: ProtectionRuleActionType * - * @method ProtectionRuleActionType setName(string $name) * @method ProtectionRuleActionType addArgument(ProtectionRuleArgumentType $argument) - * @method ProtectionRuleActionType setArgument(array $argument) */ class ProtectionRuleActionType extends Type { @@ -42,4 +40,26 @@ public function getArgument() { return $this->argument; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ProtectionRuleActionType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleArgumentType[] + * @return ProtectionRuleActionType + */ + public function setArgument(array $value) + { + $this->argument = $this->castValueIfNeeded("argument", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRuleAndType.php b/src/API/Type/ProtectionRuleAndType.php index 2431e88a..e7493358 100644 --- a/src/API/Type/ProtectionRuleAndType.php +++ b/src/API/Type/ProtectionRuleAndType.php @@ -11,15 +11,10 @@ * XSD Type: ProtectionRuleAndType * * @method ProtectionRuleAndType addAllInternal(string $allInternal) - * @method ProtectionRuleAndType setAllInternal(array $allInternal) * @method ProtectionRuleAndType addAnd(ProtectionRuleAndType $and) - * @method ProtectionRuleAndType setAnd(array $and) * @method ProtectionRuleAndType addRecipientIs(string $recipientIs) - * @method ProtectionRuleAndType setRecipientIs(array $recipientIs) * @method ProtectionRuleAndType addSenderDepartments(string $senderDepartments) - * @method ProtectionRuleAndType setSenderDepartments(array $senderDepartments) * @method ProtectionRuleAndType addTrue(string $true) - * @method ProtectionRuleAndType setTrue(array $true) */ class ProtectionRuleAndType extends Type { @@ -88,4 +83,59 @@ public function getTrue() { return $this->true; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleAndType + */ + public function setAllInternal(array $value) + { + $this->allInternal = $this->castValueIfNeeded("allInternal", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleAndType[] + * @return ProtectionRuleAndType + */ + public function setAnd(array $value) + { + $this->and = $this->castValueIfNeeded("and", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleAndType + */ + public function setRecipientIs(array $value) + { + $this->recipientIs = $this->castValueIfNeeded("recipientIs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleAndType + */ + public function setSenderDepartments(array $value) + { + $this->senderDepartments = $this->castValueIfNeeded("senderDepartments", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleAndType + */ + public function setTrue(array $value) + { + $this->true = $this->castValueIfNeeded("true", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRuleArgumentType.php b/src/API/Type/ProtectionRuleArgumentType.php index a0d1b6e8..c77a0818 100644 --- a/src/API/Type/ProtectionRuleArgumentType.php +++ b/src/API/Type/ProtectionRuleArgumentType.php @@ -9,8 +9,6 @@ * * * XSD Type: ProtectionRuleArgumentType - * - * @method ProtectionRuleArgumentType setValue(string $value) */ class ProtectionRuleArgumentType extends Type { @@ -27,4 +25,15 @@ public function getValue() { return $this->value; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ProtectionRuleArgumentType + */ + public function setValue($value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRuleConditionType.php b/src/API/Type/ProtectionRuleConditionType.php index be9e8022..266837c4 100644 --- a/src/API/Type/ProtectionRuleConditionType.php +++ b/src/API/Type/ProtectionRuleConditionType.php @@ -10,13 +10,8 @@ * * XSD Type: ProtectionRuleConditionType * - * @method ProtectionRuleConditionType setAllInternal(string $allInternal) - * @method ProtectionRuleConditionType setAnd(ProtectionRuleAndType $and) * @method ProtectionRuleConditionType addRecipientIs(string $recipientIs) - * @method ProtectionRuleConditionType setRecipientIs(array $recipientIs) * @method ProtectionRuleConditionType addSenderDepartments(string $senderDepartments) - * @method ProtectionRuleConditionType setSenderDepartments(array $senderDepartments) - * @method ProtectionRuleConditionType setTrue(string $true) */ class ProtectionRuleConditionType extends Type { @@ -85,4 +80,59 @@ public function getTrue() { return $this->true; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ProtectionRuleConditionType + */ + public function setAllInternal($value) + { + $this->allInternal = $this->castValueIfNeeded("allInternal", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleAndType + * @return ProtectionRuleConditionType + */ + public function setAnd(ProtectionRuleAndType $value) + { + $this->and = $this->castValueIfNeeded("and", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleConditionType + */ + public function setRecipientIs(array $value) + { + $this->recipientIs = $this->castValueIfNeeded("recipientIs", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return ProtectionRuleConditionType + */ + public function setSenderDepartments(array $value) + { + $this->senderDepartments = $this->castValueIfNeeded("senderDepartments", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ProtectionRuleConditionType + */ + public function setTrue($value) + { + $this->true = $this->castValueIfNeeded("true", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRuleType.php b/src/API/Type/ProtectionRuleType.php index 86bfcabb..aed3a8e3 100644 --- a/src/API/Type/ProtectionRuleType.php +++ b/src/API/Type/ProtectionRuleType.php @@ -9,12 +9,6 @@ * * * XSD Type: ProtectionRuleType - * - * @method ProtectionRuleType setName(string $name) - * @method ProtectionRuleType setUserOverridable(boolean $userOverridable) - * @method ProtectionRuleType setPriority(integer $priority) - * @method ProtectionRuleType setCondition(ProtectionRuleConditionType $condition) - * @method ProtectionRuleType setAction(ProtectionRuleActionType $action) */ class ProtectionRuleType extends Type { @@ -52,14 +46,6 @@ public function getName() return $this->name; } - /** - * @returns bool - */ - public function isUserOverridable() - { - return ((bool) $this->userOverridable); - } - /** * @return boolean */ @@ -91,4 +77,67 @@ public function getAction() { return $this->action; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ProtectionRuleType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @returns bool + */ + public function isUserOverridable() + { + return ((bool) $this->userOverridable); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return ProtectionRuleType + */ + public function setUserOverridable($value) + { + $this->userOverridable = $this->castValueIfNeeded("userOverridable", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ProtectionRuleType + */ + public function setPriority($value) + { + $this->priority = $this->castValueIfNeeded("priority", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleConditionType + * @return ProtectionRuleType + */ + public function setCondition(ProtectionRuleConditionType $value) + { + $this->condition = $this->castValueIfNeeded("condition", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleActionType + * @return ProtectionRuleType + */ + public function setAction(ProtectionRuleActionType $value) + { + $this->action = $this->castValueIfNeeded("action", $value); + return $this; + } } diff --git a/src/API/Type/ProtectionRulesServiceConfigurationType.php b/src/API/Type/ProtectionRulesServiceConfigurationType.php index a1bf443c..7aaba37f 100644 --- a/src/API/Type/ProtectionRulesServiceConfigurationType.php +++ b/src/API/Type/ProtectionRulesServiceConfigurationType.php @@ -8,11 +8,8 @@ * * XSD Type: ProtectionRulesServiceConfiguration * - * @method ProtectionRulesServiceConfigurationType setRefreshInterval(integer $refreshInterval) * @method ProtectionRulesServiceConfigurationType addRules(ProtectionRuleType $rules) - * @method ProtectionRulesServiceConfigurationType setRules(array $rules) * @method ProtectionRulesServiceConfigurationType addInternalDomains(SmtpDomainType $internalDomains) - * @method ProtectionRulesServiceConfigurationType setInternalDomains(array $internalDomains) */ class ProtectionRulesServiceConfigurationType extends ServiceConfigurationType { @@ -55,4 +52,37 @@ public function getInternalDomains() { return $this->internalDomains; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ProtectionRulesServiceConfigurationType + */ + public function setRefreshInterval($value) + { + $this->refreshInterval = $this->castValueIfNeeded("refreshInterval", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ProtectionRuleType[] + * @return ProtectionRulesServiceConfigurationType + */ + public function setRules(array $value) + { + $this->rules = $this->castValueIfNeeded("rules", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SmtpDomainType[] + * @return ProtectionRulesServiceConfigurationType + */ + public function setInternalDomains(array $value) + { + $this->internalDomains = $this->castValueIfNeeded("internalDomains", $value); + return $this; + } } diff --git a/src/API/Type/PullSubscriptionRequestType.php b/src/API/Type/PullSubscriptionRequestType.php index abf22518..871b987d 100644 --- a/src/API/Type/PullSubscriptionRequestType.php +++ b/src/API/Type/PullSubscriptionRequestType.php @@ -7,8 +7,6 @@ * * * XSD Type: PullSubscriptionRequestType - * - * @method PullSubscriptionRequestType setTimeout(integer $timeout) */ class PullSubscriptionRequestType extends BaseSubscriptionRequestType { @@ -25,4 +23,15 @@ public function getTimeout() { return $this->timeout; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return PullSubscriptionRequestType + */ + public function setTimeout($value) + { + $this->timeout = $this->castValueIfNeeded("timeout", $value); + return $this; + } } diff --git a/src/API/Type/PushSubscriptionRequestType.php b/src/API/Type/PushSubscriptionRequestType.php index 14afc516..c7557b0e 100644 --- a/src/API/Type/PushSubscriptionRequestType.php +++ b/src/API/Type/PushSubscriptionRequestType.php @@ -7,9 +7,6 @@ * * * XSD Type: PushSubscriptionRequestType - * - * @method PushSubscriptionRequestType setStatusFrequency(integer $statusFrequency) - * @method PushSubscriptionRequestType setURL(string $uRL) */ class PushSubscriptionRequestType extends BaseSubscriptionRequestType { @@ -39,4 +36,26 @@ public function getURL() { return $this->uRL; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return PushSubscriptionRequestType + */ + public function setStatusFrequency($value) + { + $this->statusFrequency = $this->castValueIfNeeded("statusFrequency", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return PushSubscriptionRequestType + */ + public function setURL($value) + { + $this->uRL = $this->castValueIfNeeded("uRL", $value); + return $this; + } } diff --git a/src/API/Type/RecipientTrackingEventType.php b/src/API/Type/RecipientTrackingEventType.php index 81023370..66935c3d 100644 --- a/src/API/Type/RecipientTrackingEventType.php +++ b/src/API/Type/RecipientTrackingEventType.php @@ -10,20 +10,8 @@ * * XSD Type: RecipientTrackingEventType * - * @method RecipientTrackingEventType setDate(\DateTime $date) - * @method RecipientTrackingEventType setRecipient(EmailAddressType $recipient) - * @method RecipientTrackingEventType setDeliveryStatus(string $deliveryStatus) - * @method RecipientTrackingEventType setEventDescription(string $eventDescription) * @method RecipientTrackingEventType addEventData(string $eventData) - * @method RecipientTrackingEventType setEventData(array $eventData) - * @method RecipientTrackingEventType setServer(string $server) - * @method RecipientTrackingEventType setInternalId(integer $internalId) - * @method RecipientTrackingEventType setBccRecipient(boolean $bccRecipient) - * @method RecipientTrackingEventType setHiddenRecipient(boolean $hiddenRecipient) - * @method RecipientTrackingEventType setUniquePathId(string $uniquePathId) - * @method RecipientTrackingEventType setRootAddress(string $rootAddress) * @method RecipientTrackingEventType addProperties(TrackingPropertyType $properties) - * @method RecipientTrackingEventType setProperties(array $properties) */ class RecipientTrackingEventType extends Type { @@ -148,6 +136,123 @@ public function getInternalId() return $this->internalId; } + /** + * @return boolean + */ + public function getBccRecipient() + { + return $this->bccRecipient; + } + + /** + * @return boolean + */ + public function getHiddenRecipient() + { + return $this->hiddenRecipient; + } + + /** + * @return string + */ + public function getUniquePathId() + { + return $this->uniquePathId; + } + + /** + * @return string + */ + public function getRootAddress() + { + return $this->rootAddress; + } + + /** + * @return TrackingPropertyType[] + */ + public function getProperties() + { + return $this->properties; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return RecipientTrackingEventType + */ + public function setDate(\DateTime|string $value) + { + $this->date = $this->castValueIfNeeded("date", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return RecipientTrackingEventType + */ + public function setRecipient(EmailAddressType $value) + { + $this->recipient = $this->castValueIfNeeded("recipient", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecipientTrackingEventType + */ + public function setDeliveryStatus($value) + { + $this->deliveryStatus = $this->castValueIfNeeded("deliveryStatus", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecipientTrackingEventType + */ + public function setEventDescription($value) + { + $this->eventDescription = $this->castValueIfNeeded("eventDescription", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RecipientTrackingEventType + */ + public function setEventData(array $value) + { + $this->eventData = $this->castValueIfNeeded("eventData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecipientTrackingEventType + */ + public function setServer($value) + { + $this->server = $this->castValueIfNeeded("server", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RecipientTrackingEventType + */ + public function setInternalId($value) + { + $this->internalId = $this->castValueIfNeeded("internalId", $value); + return $this; + } + /** * @returns bool */ @@ -157,11 +262,14 @@ public function isBccRecipient() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RecipientTrackingEventType */ - public function getBccRecipient() + public function setBccRecipient($value) { - return $this->bccRecipient; + $this->bccRecipient = $this->castValueIfNeeded("bccRecipient", $value); + return $this; } /** @@ -173,34 +281,46 @@ public function isHiddenRecipient() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RecipientTrackingEventType */ - public function getHiddenRecipient() + public function setHiddenRecipient($value) { - return $this->hiddenRecipient; + $this->hiddenRecipient = $this->castValueIfNeeded("hiddenRecipient", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return RecipientTrackingEventType */ - public function getUniquePathId() + public function setUniquePathId($value) { - return $this->uniquePathId; + $this->uniquePathId = $this->castValueIfNeeded("uniquePathId", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return RecipientTrackingEventType */ - public function getRootAddress() + public function setRootAddress($value) { - return $this->rootAddress; + $this->rootAddress = $this->castValueIfNeeded("rootAddress", $value); + return $this; } /** - * @return TrackingPropertyType[] + * @autogenerated This method is safe to replace + * @param $value TrackingPropertyType[] + * @return RecipientTrackingEventType */ - public function getProperties() + public function setProperties(array $value) { - return $this->properties; + $this->properties = $this->castValueIfNeeded("properties", $value); + return $this; } } diff --git a/src/API/Type/RecurrenceRangeBaseType.php b/src/API/Type/RecurrenceRangeBaseType.php index b0b91dc0..c266d27e 100644 --- a/src/API/Type/RecurrenceRangeBaseType.php +++ b/src/API/Type/RecurrenceRangeBaseType.php @@ -9,8 +9,6 @@ * * * XSD Type: RecurrenceRangeBaseType - * - * @method RecurrenceRangeBaseType setStartDate(\DateTime $startDate) */ class RecurrenceRangeBaseType extends Type { @@ -31,4 +29,15 @@ public function getStartDate() { return $this->startDate; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return RecurrenceRangeBaseType + */ + public function setStartDate(\DateTime|string $value) + { + $this->startDate = $this->castValueIfNeeded("startDate", $value); + return $this; + } } diff --git a/src/API/Type/RecurrenceType.php b/src/API/Type/RecurrenceType.php index 5f0166e2..2fcd565f 100644 --- a/src/API/Type/RecurrenceType.php +++ b/src/API/Type/RecurrenceType.php @@ -9,16 +9,6 @@ * * * XSD Type: RecurrenceType - * - * @method RecurrenceType setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $relativeYearlyRecurrence) - * @method RecurrenceType setAbsoluteYearlyRecurrence(AbsoluteYearlyRecurrencePatternType $absoluteYearlyRecurrence) - * @method RecurrenceType setRelativeMonthlyRecurrence(RelativeMonthlyRecurrencePatternType $relativeMonthlyRecurrence) - * @method RecurrenceType setAbsoluteMonthlyRecurrence(AbsoluteMonthlyRecurrencePatternType $absoluteMonthlyRecurrence) - * @method RecurrenceType setWeeklyRecurrence(WeeklyRecurrencePatternType $weeklyRecurrence) - * @method RecurrenceType setDailyRecurrence(DailyRecurrencePatternType $dailyRecurrence) - * @method RecurrenceType setNoEndRecurrence(NoEndRecurrenceRangeType $noEndRecurrence) - * @method RecurrenceType setEndDateRecurrence(EndDateRecurrenceRangeType $endDateRecurrence) - * @method RecurrenceType setNumberedRecurrence(NumberedRecurrenceRangeType $numberedRecurrence) */ class RecurrenceType extends Type { @@ -139,4 +129,103 @@ public function getNumberedRecurrence() { return $this->numberedRecurrence; } + + /** + * @autogenerated This method is safe to replace + * @param $value RelativeYearlyRecurrencePatternType + * @return RecurrenceType + */ + public function setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $value) + { + $this->relativeYearlyRecurrence = $this->castValueIfNeeded("relativeYearlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AbsoluteYearlyRecurrencePatternType + * @return RecurrenceType + */ + public function setAbsoluteYearlyRecurrence(AbsoluteYearlyRecurrencePatternType $value) + { + $this->absoluteYearlyRecurrence = $this->castValueIfNeeded("absoluteYearlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RelativeMonthlyRecurrencePatternType + * @return RecurrenceType + */ + public function setRelativeMonthlyRecurrence(RelativeMonthlyRecurrencePatternType $value) + { + $this->relativeMonthlyRecurrence = $this->castValueIfNeeded("relativeMonthlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AbsoluteMonthlyRecurrencePatternType + * @return RecurrenceType + */ + public function setAbsoluteMonthlyRecurrence(AbsoluteMonthlyRecurrencePatternType $value) + { + $this->absoluteMonthlyRecurrence = $this->castValueIfNeeded("absoluteMonthlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value WeeklyRecurrencePatternType + * @return RecurrenceType + */ + public function setWeeklyRecurrence(WeeklyRecurrencePatternType $value) + { + $this->weeklyRecurrence = $this->castValueIfNeeded("weeklyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DailyRecurrencePatternType + * @return RecurrenceType + */ + public function setDailyRecurrence(DailyRecurrencePatternType $value) + { + $this->dailyRecurrence = $this->castValueIfNeeded("dailyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NoEndRecurrenceRangeType + * @return RecurrenceType + */ + public function setNoEndRecurrence(NoEndRecurrenceRangeType $value) + { + $this->noEndRecurrence = $this->castValueIfNeeded("noEndRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EndDateRecurrenceRangeType + * @return RecurrenceType + */ + public function setEndDateRecurrence(EndDateRecurrenceRangeType $value) + { + $this->endDateRecurrence = $this->castValueIfNeeded("endDateRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NumberedRecurrenceRangeType + * @return RecurrenceType + */ + public function setNumberedRecurrence(NumberedRecurrenceRangeType $value) + { + $this->numberedRecurrence = $this->castValueIfNeeded("numberedRecurrence", $value); + return $this; + } } diff --git a/src/API/Type/RecurringDateTransitionType.php b/src/API/Type/RecurringDateTransitionType.php index 10756d0b..f12da759 100644 --- a/src/API/Type/RecurringDateTransitionType.php +++ b/src/API/Type/RecurringDateTransitionType.php @@ -7,8 +7,6 @@ * * * XSD Type: RecurringDateTransitionType - * - * @method RecurringDateTransitionType setDay(integer $day) */ class RecurringDateTransitionType extends RecurringTimeTransitionType { @@ -25,4 +23,15 @@ public function getDay() { return $this->day; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RecurringDateTransitionType + */ + public function setDay($value) + { + $this->day = $this->castValueIfNeeded("day", $value); + return $this; + } } diff --git a/src/API/Type/RecurringDayTransitionType.php b/src/API/Type/RecurringDayTransitionType.php index a2befbe3..2a638188 100644 --- a/src/API/Type/RecurringDayTransitionType.php +++ b/src/API/Type/RecurringDayTransitionType.php @@ -7,9 +7,6 @@ * * * XSD Type: RecurringDayTransitionType - * - * @method RecurringDayTransitionType setDayOfWeek(string $dayOfWeek) - * @method RecurringDayTransitionType setOccurrence(string $occurrence) */ class RecurringDayTransitionType extends RecurringTimeTransitionType { @@ -39,4 +36,26 @@ public function getOccurrence() { return $this->occurrence; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecurringDayTransitionType + */ + public function setDayOfWeek($value) + { + $this->dayOfWeek = $this->castValueIfNeeded("dayOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecurringDayTransitionType + */ + public function setOccurrence($value) + { + $this->occurrence = $this->castValueIfNeeded("occurrence", $value); + return $this; + } } diff --git a/src/API/Type/RecurringMasterItemIdType.php b/src/API/Type/RecurringMasterItemIdType.php index 3b95f093..834734fd 100644 --- a/src/API/Type/RecurringMasterItemIdType.php +++ b/src/API/Type/RecurringMasterItemIdType.php @@ -7,9 +7,6 @@ * * * XSD Type: RecurringMasterItemIdType - * - * @method RecurringMasterItemIdType setOccurrenceId(string $occurrenceId) - * @method RecurringMasterItemIdType setChangeKey(string $changeKey) */ class RecurringMasterItemIdType extends BaseItemIdType { @@ -39,4 +36,26 @@ public function getChangeKey() { return $this->changeKey; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecurringMasterItemIdType + */ + public function setOccurrenceId($value) + { + $this->occurrenceId = $this->castValueIfNeeded("occurrenceId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RecurringMasterItemIdType + */ + public function setChangeKey($value) + { + $this->changeKey = $this->castValueIfNeeded("changeKey", $value); + return $this; + } } diff --git a/src/API/Type/RecurringTimeTransitionType.php b/src/API/Type/RecurringTimeTransitionType.php index 7a68fcaf..3ef9abbe 100644 --- a/src/API/Type/RecurringTimeTransitionType.php +++ b/src/API/Type/RecurringTimeTransitionType.php @@ -7,9 +7,6 @@ * * * XSD Type: RecurringTimeTransitionType - * - * @method RecurringTimeTransitionType setTimeOffset(\DateInterval $timeOffset) - * @method RecurringTimeTransitionType setMonth(integer $month) */ class RecurringTimeTransitionType extends TransitionType { @@ -39,4 +36,26 @@ public function getMonth() { return $this->month; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateInterval + * @return RecurringTimeTransitionType + */ + public function setTimeOffset(\DateInterval $value) + { + $this->timeOffset = $this->castValueIfNeeded("timeOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RecurringTimeTransitionType + */ + public function setMonth($value) + { + $this->month = $this->castValueIfNeeded("month", $value); + return $this; + } } diff --git a/src/API/Type/RelativeMonthlyRecurrencePatternType.php b/src/API/Type/RelativeMonthlyRecurrencePatternType.php index 1db5ee12..68fd9bff 100644 --- a/src/API/Type/RelativeMonthlyRecurrencePatternType.php +++ b/src/API/Type/RelativeMonthlyRecurrencePatternType.php @@ -7,9 +7,6 @@ * * * XSD Type: RelativeMonthlyRecurrencePatternType - * - * @method RelativeMonthlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) - * @method RelativeMonthlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) */ class RelativeMonthlyRecurrencePatternType extends IntervalRecurrencePatternBaseType { @@ -39,4 +36,26 @@ public function getDayOfWeekIndex() { return $this->dayOfWeekIndex; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RelativeMonthlyRecurrencePatternType + */ + public function setDaysOfWeek($value) + { + $this->daysOfWeek = $this->castValueIfNeeded("daysOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RelativeMonthlyRecurrencePatternType + */ + public function setDayOfWeekIndex($value) + { + $this->dayOfWeekIndex = $this->castValueIfNeeded("dayOfWeekIndex", $value); + return $this; + } } diff --git a/src/API/Type/RelativeYearlyRecurrencePatternType.php b/src/API/Type/RelativeYearlyRecurrencePatternType.php index c9a94304..f2a214f9 100644 --- a/src/API/Type/RelativeYearlyRecurrencePatternType.php +++ b/src/API/Type/RelativeYearlyRecurrencePatternType.php @@ -7,10 +7,6 @@ * * * XSD Type: RelativeYearlyRecurrencePatternType - * - * @method RelativeYearlyRecurrencePatternType setDaysOfWeek(string $daysOfWeek) - * @method RelativeYearlyRecurrencePatternType setDayOfWeekIndex(string $dayOfWeekIndex) - * @method RelativeYearlyRecurrencePatternType setMonth(string $month) */ class RelativeYearlyRecurrencePatternType extends RecurrencePatternBaseType { @@ -53,4 +49,37 @@ public function getMonth() { return $this->month; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RelativeYearlyRecurrencePatternType + */ + public function setDaysOfWeek($value) + { + $this->daysOfWeek = $this->castValueIfNeeded("daysOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RelativeYearlyRecurrencePatternType + */ + public function setDayOfWeekIndex($value) + { + $this->dayOfWeekIndex = $this->castValueIfNeeded("dayOfWeekIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RelativeYearlyRecurrencePatternType + */ + public function setMonth($value) + { + $this->month = $this->castValueIfNeeded("month", $value); + return $this; + } } diff --git a/src/API/Type/ReplyBodyType.php b/src/API/Type/ReplyBodyType.php index f277ccab..684b3faf 100644 --- a/src/API/Type/ReplyBodyType.php +++ b/src/API/Type/ReplyBodyType.php @@ -9,9 +9,6 @@ * * * XSD Type: ReplyBody - * - * @method ReplyBodyType setLang(\garethp\ews\API\Type\ReplyBodyType\LangAType $lang) - * @method ReplyBodyType setMessage(string $message) */ class ReplyBodyType extends Type { @@ -41,4 +38,26 @@ public function getMessage() { return $this->message; } + + /** + * @autogenerated This method is safe to replace + * @param $value \garethp\ews\API\Type\ReplyBodyType\LangAType + * @return ReplyBodyType + */ + public function setLang(\garethp\ews\API\Type\ReplyBodyType\LangAType $value) + { + $this->lang = $this->castValueIfNeeded("lang", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ReplyBodyType + */ + public function setMessage($value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } } diff --git a/src/API/Type/RequestAttachmentIdType.php b/src/API/Type/RequestAttachmentIdType.php index d588f944..151e9205 100644 --- a/src/API/Type/RequestAttachmentIdType.php +++ b/src/API/Type/RequestAttachmentIdType.php @@ -7,8 +7,6 @@ * * * XSD Type: RequestAttachmentIdType - * - * @method RequestAttachmentIdType setId(string $id) */ class RequestAttachmentIdType extends BaseItemIdType { @@ -25,4 +23,15 @@ public function getId() { return $this->id; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RequestAttachmentIdType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } } diff --git a/src/API/Type/RequestServerVersion.php b/src/API/Type/RequestServerVersion.php index 2045de99..a6feba2e 100644 --- a/src/API/Type/RequestServerVersion.php +++ b/src/API/Type/RequestServerVersion.php @@ -6,8 +6,6 @@ /** * Class representing RequestServerVersion - * - * @method RequestServerVersion setVersion(string $version) */ class RequestServerVersion extends Type { @@ -24,4 +22,15 @@ public function getVersion() { return $this->version; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RequestServerVersion + */ + public function setVersion($value) + { + $this->version = $this->castValueIfNeeded("version", $value); + return $this; + } } diff --git a/src/API/Type/RequestTypeHeaderType.php b/src/API/Type/RequestTypeHeaderType.php index 37f0b374..e0465e5f 100644 --- a/src/API/Type/RequestTypeHeaderType.php +++ b/src/API/Type/RequestTypeHeaderType.php @@ -9,8 +9,6 @@ * * * XSD Type: RequestTypeHeader - * - * @method RequestTypeHeaderType setRequestType(string $requestType) */ class RequestTypeHeaderType extends Type { @@ -27,4 +25,15 @@ public function getRequestType() { return $this->requestType; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RequestTypeHeaderType + */ + public function setRequestType($value) + { + $this->requestType = $this->castValueIfNeeded("requestType", $value); + return $this; + } } diff --git a/src/API/Type/ResolutionType.php b/src/API/Type/ResolutionType.php index 8b9c1264..79f9684c 100644 --- a/src/API/Type/ResolutionType.php +++ b/src/API/Type/ResolutionType.php @@ -9,9 +9,6 @@ * * * XSD Type: ResolutionType - * - * @method ResolutionType setMailbox(EmailAddressType $mailbox) - * @method ResolutionType setContact(ContactItemType $contact) */ class ResolutionType extends Type { @@ -41,4 +38,26 @@ public function getContact() { return $this->contact; } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return ResolutionType + */ + public function setMailbox(EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType + * @return ResolutionType + */ + public function setContact(ContactItemType $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } } diff --git a/src/API/Type/ResponseObjectCoreType.php b/src/API/Type/ResponseObjectCoreType.php index e63b5f11..e457b40e 100644 --- a/src/API/Type/ResponseObjectCoreType.php +++ b/src/API/Type/ResponseObjectCoreType.php @@ -8,8 +8,6 @@ * Internal abstract base type for reply objects. * Should not appear in client code * XSD Type: ResponseObjectCoreType - * - * @method ResponseObjectCoreType setReferenceItemId(ItemIdType $referenceItemId) */ class ResponseObjectCoreType extends MessageType { @@ -26,4 +24,15 @@ public function getReferenceItemId() { return $this->referenceItemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return ResponseObjectCoreType + */ + public function setReferenceItemId(ItemIdType $value) + { + $this->referenceItemId = $this->castValueIfNeeded("referenceItemId", $value); + return $this; + } } diff --git a/src/API/Type/ResponseObjectType.php b/src/API/Type/ResponseObjectType.php index fd47ca16..c7625d49 100644 --- a/src/API/Type/ResponseObjectType.php +++ b/src/API/Type/ResponseObjectType.php @@ -7,8 +7,6 @@ * * Abstract base type for reply objects * XSD Type: ResponseObjectType - * - * @method ResponseObjectType setObjectName(string $objectName) */ class ResponseObjectType extends ResponseObjectCoreType { @@ -28,4 +26,15 @@ public function getObjectName() { return $this->objectName; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ResponseObjectType + */ + public function setObjectName($value) + { + $this->objectName = $this->castValueIfNeeded("objectName", $value); + return $this; + } } diff --git a/src/API/Type/RestrictionType.php b/src/API/Type/RestrictionType.php index 22ebf987..c5746c3e 100644 --- a/src/API/Type/RestrictionType.php +++ b/src/API/Type/RestrictionType.php @@ -11,29 +11,17 @@ * XSD Type: RestrictionType * * @method RestrictionType addContains(Contains $contains) - * @method RestrictionType setContains(array $contains) * @method RestrictionType addExcludes(Excludes $excludes) - * @method RestrictionType setExcludes(array $excludes) * @method RestrictionType addExists(Exists $exists) - * @method RestrictionType setExists(array $exists) * @method RestrictionType addIsEqualTo(IsEqualTo $isEqualTo) - * @method RestrictionType setIsEqualTo(array $isEqualTo) * @method RestrictionType addIsNotEqualTo(IsNotEqualTo $isNotEqualTo) - * @method RestrictionType setIsNotEqualTo(array $isNotEqualTo) * @method RestrictionType addIsGreaterThan(IsGreaterThan $isGreaterThan) - * @method RestrictionType setIsGreaterThan(array $isGreaterThan) * @method RestrictionType addIsGreaterThanOrEqualTo(IsGreaterThanOrEqualTo $isGreaterThanOrEqualTo) - * @method RestrictionType setIsGreaterThanOrEqualTo(array $isGreaterThanOrEqualTo) * @method RestrictionType addIsLessThan(IsLessThan $isLessThan) - * @method RestrictionType setIsLessThan(array $isLessThan) * @method RestrictionType addIsLessThanOrEqualTo(IsLessThanOrEqualTo $isLessThanOrEqualTo) - * @method RestrictionType setIsLessThanOrEqualTo(array $isLessThanOrEqualTo) * @method RestrictionType addAnd(AndElement $and) - * @method RestrictionType setAnd(array $and) * @method RestrictionType addNot(Not $not) - * @method RestrictionType setNot(array $not) * @method RestrictionType addOr(OrElement $or) - * @method RestrictionType setOr(array $or) */ class RestrictionType extends Type { @@ -193,4 +181,136 @@ public function getOr() { return $this->or; } + + /** + * @autogenerated This method is safe to replace + * @param $value Contains[] + * @return RestrictionType + */ + public function setContains(array $value) + { + $this->contains = $this->castValueIfNeeded("contains", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Excludes[] + * @return RestrictionType + */ + public function setExcludes(array $value) + { + $this->excludes = $this->castValueIfNeeded("excludes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Exists[] + * @return RestrictionType + */ + public function setExists(array $value) + { + $this->exists = $this->castValueIfNeeded("exists", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsEqualTo[] + * @return RestrictionType + */ + public function setIsEqualTo(array $value) + { + $this->isEqualTo = $this->castValueIfNeeded("isEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsNotEqualTo[] + * @return RestrictionType + */ + public function setIsNotEqualTo(array $value) + { + $this->isNotEqualTo = $this->castValueIfNeeded("isNotEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThan[] + * @return RestrictionType + */ + public function setIsGreaterThan(array $value) + { + $this->isGreaterThan = $this->castValueIfNeeded("isGreaterThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsGreaterThanOrEqualTo[] + * @return RestrictionType + */ + public function setIsGreaterThanOrEqualTo(array $value) + { + $this->isGreaterThanOrEqualTo = $this->castValueIfNeeded("isGreaterThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThan[] + * @return RestrictionType + */ + public function setIsLessThan(array $value) + { + $this->isLessThan = $this->castValueIfNeeded("isLessThan", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IsLessThanOrEqualTo[] + * @return RestrictionType + */ + public function setIsLessThanOrEqualTo(array $value) + { + $this->isLessThanOrEqualTo = $this->castValueIfNeeded("isLessThanOrEqualTo", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AndElement[] + * @return RestrictionType + */ + public function setAnd(array $value) + { + $this->and = $this->castValueIfNeeded("and", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value Not[] + * @return RestrictionType + */ + public function setNot(array $value) + { + $this->not = $this->castValueIfNeeded("not", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value OrElement[] + * @return RestrictionType + */ + public function setOr(array $value) + { + $this->or = $this->castValueIfNeeded("or", $value); + return $this; + } } diff --git a/src/API/Type/RootItemIdType.php b/src/API/Type/RootItemIdType.php index 7a70fc75..2fe69e74 100644 --- a/src/API/Type/RootItemIdType.php +++ b/src/API/Type/RootItemIdType.php @@ -7,9 +7,6 @@ * * * XSD Type: RootItemIdType - * - * @method RootItemIdType setRootItemId(string $rootItemId) - * @method RootItemIdType setRootItemChangeKey(string $rootItemChangeKey) */ class RootItemIdType extends BaseItemIdType { @@ -39,4 +36,26 @@ public function getRootItemChangeKey() { return $this->rootItemChangeKey; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RootItemIdType + */ + public function setRootItemId($value) + { + $this->rootItemId = $this->castValueIfNeeded("rootItemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RootItemIdType + */ + public function setRootItemChangeKey($value) + { + $this->rootItemChangeKey = $this->castValueIfNeeded("rootItemChangeKey", $value); + return $this; + } } diff --git a/src/API/Type/RuleActionsType.php b/src/API/Type/RuleActionsType.php index 3e561948..eb16790d 100644 --- a/src/API/Type/RuleActionsType.php +++ b/src/API/Type/RuleActionsType.php @@ -11,23 +11,10 @@ * XSD Type: RuleActionsType * * @method RuleActionsType addAssignCategories(string $assignCategories) - * @method RuleActionsType setAssignCategories(array $assignCategories) - * @method RuleActionsType setCopyToFolder(TargetFolderIdType $copyToFolder) - * @method RuleActionsType setDelete(boolean $delete) * @method RuleActionsType addForwardAsAttachmentToRecipients(EmailAddressType $forwardAsAttachmentToRecipients) - * @method RuleActionsType setForwardAsAttachmentToRecipients(array $forwardAsAttachmentToRecipients) * @method RuleActionsType addForwardToRecipients(EmailAddressType $forwardToRecipients) - * @method RuleActionsType setForwardToRecipients(array $forwardToRecipients) - * @method RuleActionsType setMarkImportance(string $markImportance) - * @method RuleActionsType setMarkAsRead(boolean $markAsRead) - * @method RuleActionsType setMoveToFolder(TargetFolderIdType $moveToFolder) - * @method RuleActionsType setPermanentDelete(boolean $permanentDelete) * @method RuleActionsType addRedirectToRecipients(EmailAddressType $redirectToRecipients) - * @method RuleActionsType setRedirectToRecipients(array $redirectToRecipients) * @method RuleActionsType addSendSMSAlertToRecipients(EmailAddressType $sendSMSAlertToRecipients) - * @method RuleActionsType setSendSMSAlertToRecipients(array $sendSMSAlertToRecipients) - * @method RuleActionsType setServerReplyWithMessage(ItemIdType $serverReplyWithMessage) - * @method RuleActionsType setStopProcessingRules(boolean $stopProcessingRules) */ class RuleActionsType extends Type { @@ -113,14 +100,6 @@ public function getCopyToFolder() return $this->copyToFolder; } - /** - * @returns bool - */ - public function isDelete() - { - return ((bool) $this->delete); - } - /** * @return boolean */ @@ -153,14 +132,6 @@ public function getMarkImportance() return $this->markImportance; } - /** - * @returns bool - */ - public function isMarkAsRead() - { - return ((bool) $this->markAsRead); - } - /** * @return boolean */ @@ -177,14 +148,6 @@ public function getMoveToFolder() return $this->moveToFolder; } - /** - * @returns bool - */ - public function isPermanentDelete() - { - return ((bool) $this->permanentDelete); - } - /** * @return boolean */ @@ -217,6 +180,170 @@ public function getServerReplyWithMessage() return $this->serverReplyWithMessage; } + /** + * @return boolean + */ + public function getStopProcessingRules() + { + return $this->stopProcessingRules; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RuleActionsType + */ + public function setAssignCategories(array $value) + { + $this->assignCategories = $this->castValueIfNeeded("assignCategories", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TargetFolderIdType + * @return RuleActionsType + */ + public function setCopyToFolder(TargetFolderIdType $value) + { + $this->copyToFolder = $this->castValueIfNeeded("copyToFolder", $value); + return $this; + } + + /** + * @returns bool + */ + public function isDelete() + { + return ((bool) $this->delete); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleActionsType + */ + public function setDelete($value) + { + $this->delete = $this->castValueIfNeeded("delete", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RuleActionsType + */ + public function setForwardAsAttachmentToRecipients(array $value) + { + $this->forwardAsAttachmentToRecipients = $this->castValueIfNeeded("forwardAsAttachmentToRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RuleActionsType + */ + public function setForwardToRecipients(array $value) + { + $this->forwardToRecipients = $this->castValueIfNeeded("forwardToRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleActionsType + */ + public function setMarkImportance($value) + { + $this->markImportance = $this->castValueIfNeeded("markImportance", $value); + return $this; + } + + /** + * @returns bool + */ + public function isMarkAsRead() + { + return ((bool) $this->markAsRead); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleActionsType + */ + public function setMarkAsRead($value) + { + $this->markAsRead = $this->castValueIfNeeded("markAsRead", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TargetFolderIdType + * @return RuleActionsType + */ + public function setMoveToFolder(TargetFolderIdType $value) + { + $this->moveToFolder = $this->castValueIfNeeded("moveToFolder", $value); + return $this; + } + + /** + * @returns bool + */ + public function isPermanentDelete() + { + return ((bool) $this->permanentDelete); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleActionsType + */ + public function setPermanentDelete($value) + { + $this->permanentDelete = $this->castValueIfNeeded("permanentDelete", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RuleActionsType + */ + public function setRedirectToRecipients(array $value) + { + $this->redirectToRecipients = $this->castValueIfNeeded("redirectToRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RuleActionsType + */ + public function setSendSMSAlertToRecipients(array $value) + { + $this->sendSMSAlertToRecipients = $this->castValueIfNeeded("sendSMSAlertToRecipients", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return RuleActionsType + */ + public function setServerReplyWithMessage(ItemIdType $value) + { + $this->serverReplyWithMessage = $this->castValueIfNeeded("serverReplyWithMessage", $value); + return $this; + } + /** * @returns bool */ @@ -226,10 +353,13 @@ public function isStopProcessingRules() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleActionsType */ - public function getStopProcessingRules() + public function setStopProcessingRules($value) { - return $this->stopProcessingRules; + $this->stopProcessingRules = $this->castValueIfNeeded("stopProcessingRules", $value); + return $this; } } diff --git a/src/API/Type/RuleOperationErrorType.php b/src/API/Type/RuleOperationErrorType.php index 2d8e1eea..10ef70b0 100644 --- a/src/API/Type/RuleOperationErrorType.php +++ b/src/API/Type/RuleOperationErrorType.php @@ -10,9 +10,7 @@ * * XSD Type: RuleOperationErrorType * - * @method RuleOperationErrorType setOperationIndex(integer $operationIndex) * @method RuleOperationErrorType addValidationErrors(RuleValidationErrorType $validationErrors) - * @method RuleOperationErrorType setValidationErrors(array $validationErrors) */ class RuleOperationErrorType extends Type { @@ -42,4 +40,26 @@ public function getValidationErrors() { return $this->validationErrors; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RuleOperationErrorType + */ + public function setOperationIndex($value) + { + $this->operationIndex = $this->castValueIfNeeded("operationIndex", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RuleValidationErrorType[] + * @return RuleOperationErrorType + */ + public function setValidationErrors(array $value) + { + $this->validationErrors = $this->castValueIfNeeded("validationErrors", $value); + return $this; + } } diff --git a/src/API/Type/RulePredicateDateRangeType.php b/src/API/Type/RulePredicateDateRangeType.php index 3e780be2..57ba5d8c 100644 --- a/src/API/Type/RulePredicateDateRangeType.php +++ b/src/API/Type/RulePredicateDateRangeType.php @@ -9,9 +9,6 @@ * * Date range type used for the WithinDateRange rule predicate. * XSD Type: RulePredicateDateRangeType - * - * @method RulePredicateDateRangeType setStartDateTime(\DateTime $startDateTime) - * @method RulePredicateDateRangeType setEndDateTime(\DateTime $endDateTime) */ class RulePredicateDateRangeType extends Type { @@ -46,4 +43,26 @@ public function getEndDateTime() { return $this->endDateTime; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return RulePredicateDateRangeType + */ + public function setStartDateTime(\DateTime|string $value) + { + $this->startDateTime = $this->castValueIfNeeded("startDateTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return RulePredicateDateRangeType + */ + public function setEndDateTime(\DateTime|string $value) + { + $this->endDateTime = $this->castValueIfNeeded("endDateTime", $value); + return $this; + } } diff --git a/src/API/Type/RulePredicateSizeRangeType.php b/src/API/Type/RulePredicateSizeRangeType.php index 42ce3407..291d5d16 100644 --- a/src/API/Type/RulePredicateSizeRangeType.php +++ b/src/API/Type/RulePredicateSizeRangeType.php @@ -9,9 +9,6 @@ * * Size range type used for the WithinSizeRange rule predicate. * XSD Type: RulePredicateSizeRangeType - * - * @method RulePredicateSizeRangeType setMinimumSize(integer $minimumSize) - * @method RulePredicateSizeRangeType setMaximumSize(integer $maximumSize) */ class RulePredicateSizeRangeType extends Type { @@ -41,4 +38,26 @@ public function getMaximumSize() { return $this->maximumSize; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RulePredicateSizeRangeType + */ + public function setMinimumSize($value) + { + $this->minimumSize = $this->castValueIfNeeded("minimumSize", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RulePredicateSizeRangeType + */ + public function setMaximumSize($value) + { + $this->maximumSize = $this->castValueIfNeeded("maximumSize", $value); + return $this; + } } diff --git a/src/API/Type/RulePredicatesType.php b/src/API/Type/RulePredicatesType.php index 71f73d28..28109554 100644 --- a/src/API/Type/RulePredicatesType.php +++ b/src/API/Type/RulePredicatesType.php @@ -11,51 +11,17 @@ * XSD Type: RulePredicatesType * * @method RulePredicatesType addCategories(string $categories) - * @method RulePredicatesType setCategories(array $categories) * @method RulePredicatesType addContainsBodyStrings(string $containsBodyStrings) - * @method RulePredicatesType setContainsBodyStrings(array $containsBodyStrings) * @method RulePredicatesType addContainsHeaderStrings(string $containsHeaderStrings) - * @method RulePredicatesType setContainsHeaderStrings(array $containsHeaderStrings) * @method RulePredicatesType addContainsRecipientStrings(string $containsRecipientStrings) - * @method RulePredicatesType setContainsRecipientStrings(array $containsRecipientStrings) * @method RulePredicatesType addContainsSenderStrings(string $containsSenderStrings) - * @method RulePredicatesType setContainsSenderStrings(array $containsSenderStrings) * @method RulePredicatesType addContainsSubjectOrBodyStrings(string $containsSubjectOrBodyStrings) - * @method RulePredicatesType setContainsSubjectOrBodyStrings(array $containsSubjectOrBodyStrings) * @method RulePredicatesType addContainsSubjectStrings(string $containsSubjectStrings) - * @method RulePredicatesType setContainsSubjectStrings(array $containsSubjectStrings) - * @method RulePredicatesType setFlaggedForAction(string $flaggedForAction) * @method RulePredicatesType addFromAddresses(EmailAddressType $fromAddresses) - * @method RulePredicatesType setFromAddresses(array $fromAddresses) * @method RulePredicatesType addFromConnectedAccounts(string $fromConnectedAccounts) - * @method RulePredicatesType setFromConnectedAccounts(array $fromConnectedAccounts) - * @method RulePredicatesType setHasAttachments(boolean $hasAttachments) - * @method RulePredicatesType setImportance(string $importance) - * @method RulePredicatesType setIsApprovalRequest(boolean $isApprovalRequest) - * @method RulePredicatesType setIsAutomaticForward(boolean $isAutomaticForward) - * @method RulePredicatesType setIsAutomaticReply(boolean $isAutomaticReply) - * @method RulePredicatesType setIsEncrypted(boolean $isEncrypted) - * @method RulePredicatesType setIsMeetingRequest(boolean $isMeetingRequest) - * @method RulePredicatesType setIsMeetingResponse(boolean $isMeetingResponse) - * @method RulePredicatesType setIsNDR(boolean $isNDR) - * @method RulePredicatesType setIsPermissionControlled(boolean $isPermissionControlled) - * @method RulePredicatesType setIsReadReceipt(boolean $isReadReceipt) - * @method RulePredicatesType setIsSigned(boolean $isSigned) - * @method RulePredicatesType setIsVoicemail(boolean $isVoicemail) * @method RulePredicatesType addItemClasses(string $itemClasses) - * @method RulePredicatesType setItemClasses(array $itemClasses) * @method RulePredicatesType addMessageClassifications(string $messageClassifications) - * @method RulePredicatesType setMessageClassifications(array $messageClassifications) - * @method RulePredicatesType setNotSentToMe(boolean $notSentToMe) - * @method RulePredicatesType setSentCcMe(boolean $sentCcMe) - * @method RulePredicatesType setSentOnlyToMe(boolean $sentOnlyToMe) * @method RulePredicatesType addSentToAddresses(EmailAddressType $sentToAddresses) - * @method RulePredicatesType setSentToAddresses(array $sentToAddresses) - * @method RulePredicatesType setSentToMe(boolean $sentToMe) - * @method RulePredicatesType setSentToOrCcMe(boolean $sentToOrCcMe) - * @method RulePredicatesType setSensitivity(string $sensitivity) - * @method RulePredicatesType setWithinDateRange(RulePredicateDateRangeType $withinDateRange) - * @method RulePredicatesType setWithinSizeRange(RulePredicateSizeRangeType $withinSizeRange) */ class RulePredicatesType extends Type { @@ -310,6 +276,308 @@ public function getFromConnectedAccounts() return $this->fromConnectedAccounts; } + /** + * @return boolean + */ + public function getHasAttachments() + { + return $this->hasAttachments; + } + + /** + * @return string + */ + public function getImportance() + { + return $this->importance; + } + + /** + * @return boolean + */ + public function getIsApprovalRequest() + { + return $this->isApprovalRequest; + } + + /** + * @return boolean + */ + public function getIsAutomaticForward() + { + return $this->isAutomaticForward; + } + + /** + * @return boolean + */ + public function getIsAutomaticReply() + { + return $this->isAutomaticReply; + } + + /** + * @return boolean + */ + public function getIsEncrypted() + { + return $this->isEncrypted; + } + + /** + * @return boolean + */ + public function getIsMeetingRequest() + { + return $this->isMeetingRequest; + } + + /** + * @return boolean + */ + public function getIsMeetingResponse() + { + return $this->isMeetingResponse; + } + + /** + * @return boolean + */ + public function getIsNDR() + { + return $this->isNDR; + } + + /** + * @return boolean + */ + public function getIsPermissionControlled() + { + return $this->isPermissionControlled; + } + + /** + * @return boolean + */ + public function getIsReadReceipt() + { + return $this->isReadReceipt; + } + + /** + * @return boolean + */ + public function getIsSigned() + { + return $this->isSigned; + } + + /** + * @return boolean + */ + public function getIsVoicemail() + { + return $this->isVoicemail; + } + + /** + * @return string[] + */ + public function getItemClasses() + { + return $this->itemClasses; + } + + /** + * @return string[] + */ + public function getMessageClassifications() + { + return $this->messageClassifications; + } + + /** + * @return boolean + */ + public function getNotSentToMe() + { + return $this->notSentToMe; + } + + /** + * @return boolean + */ + public function getSentCcMe() + { + return $this->sentCcMe; + } + + /** + * @return boolean + */ + public function getSentOnlyToMe() + { + return $this->sentOnlyToMe; + } + + /** + * @return EmailAddressType[] + */ + public function getSentToAddresses() + { + return $this->sentToAddresses; + } + + /** + * @return boolean + */ + public function getSentToMe() + { + return $this->sentToMe; + } + + /** + * @return boolean + */ + public function getSentToOrCcMe() + { + return $this->sentToOrCcMe; + } + + /** + * @return string + */ + public function getSensitivity() + { + return $this->sensitivity; + } + + /** + * @return RulePredicateDateRangeType + */ + public function getWithinDateRange() + { + return $this->withinDateRange; + } + + /** + * @return RulePredicateSizeRangeType + */ + public function getWithinSizeRange() + { + return $this->withinSizeRange; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setCategories(array $value) + { + $this->categories = $this->castValueIfNeeded("categories", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsBodyStrings(array $value) + { + $this->containsBodyStrings = $this->castValueIfNeeded("containsBodyStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsHeaderStrings(array $value) + { + $this->containsHeaderStrings = $this->castValueIfNeeded("containsHeaderStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsRecipientStrings(array $value) + { + $this->containsRecipientStrings = $this->castValueIfNeeded("containsRecipientStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsSenderStrings(array $value) + { + $this->containsSenderStrings = $this->castValueIfNeeded("containsSenderStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsSubjectOrBodyStrings(array $value) + { + $this->containsSubjectOrBodyStrings = $this->castValueIfNeeded("containsSubjectOrBodyStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setContainsSubjectStrings(array $value) + { + $this->containsSubjectStrings = $this->castValueIfNeeded("containsSubjectStrings", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RulePredicatesType + */ + public function setFlaggedForAction($value) + { + $this->flaggedForAction = $this->castValueIfNeeded("flaggedForAction", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RulePredicatesType + */ + public function setFromAddresses(array $value) + { + $this->fromAddresses = $this->castValueIfNeeded("fromAddresses", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType + */ + public function setFromConnectedAccounts(array $value) + { + $this->fromConnectedAccounts = $this->castValueIfNeeded("fromConnectedAccounts", $value); + return $this; + } + /** * @returns bool */ @@ -319,19 +587,25 @@ public function isHasAttachments() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getHasAttachments() + public function setHasAttachments($value) { - return $this->hasAttachments; + $this->hasAttachments = $this->castValueIfNeeded("hasAttachments", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return RulePredicatesType */ - public function getImportance() + public function setImportance($value) { - return $this->importance; + $this->importance = $this->castValueIfNeeded("importance", $value); + return $this; } /** @@ -343,11 +617,14 @@ public function isApprovalRequest() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsApprovalRequest() + public function setIsApprovalRequest($value) { - return $this->isApprovalRequest; + $this->isApprovalRequest = $this->castValueIfNeeded("isApprovalRequest", $value); + return $this; } /** @@ -359,11 +636,14 @@ public function isAutomaticForward() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsAutomaticForward() + public function setIsAutomaticForward($value) { - return $this->isAutomaticForward; + $this->isAutomaticForward = $this->castValueIfNeeded("isAutomaticForward", $value); + return $this; } /** @@ -375,11 +655,14 @@ public function isAutomaticReply() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsAutomaticReply() + public function setIsAutomaticReply($value) { - return $this->isAutomaticReply; + $this->isAutomaticReply = $this->castValueIfNeeded("isAutomaticReply", $value); + return $this; } /** @@ -391,11 +674,14 @@ public function isEncrypted() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsEncrypted() + public function setIsEncrypted($value) { - return $this->isEncrypted; + $this->isEncrypted = $this->castValueIfNeeded("isEncrypted", $value); + return $this; } /** @@ -407,11 +693,14 @@ public function isMeetingRequest() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsMeetingRequest() + public function setIsMeetingRequest($value) { - return $this->isMeetingRequest; + $this->isMeetingRequest = $this->castValueIfNeeded("isMeetingRequest", $value); + return $this; } /** @@ -423,11 +712,14 @@ public function isMeetingResponse() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsMeetingResponse() + public function setIsMeetingResponse($value) { - return $this->isMeetingResponse; + $this->isMeetingResponse = $this->castValueIfNeeded("isMeetingResponse", $value); + return $this; } /** @@ -439,11 +731,14 @@ public function isNDR() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsNDR() + public function setIsNDR($value) { - return $this->isNDR; + $this->isNDR = $this->castValueIfNeeded("isNDR", $value); + return $this; } /** @@ -455,11 +750,14 @@ public function isPermissionControlled() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsPermissionControlled() + public function setIsPermissionControlled($value) { - return $this->isPermissionControlled; + $this->isPermissionControlled = $this->castValueIfNeeded("isPermissionControlled", $value); + return $this; } /** @@ -471,11 +769,14 @@ public function isReadReceipt() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsReadReceipt() + public function setIsReadReceipt($value) { - return $this->isReadReceipt; + $this->isReadReceipt = $this->castValueIfNeeded("isReadReceipt", $value); + return $this; } /** @@ -487,11 +788,14 @@ public function isSigned() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsSigned() + public function setIsSigned($value) { - return $this->isSigned; + $this->isSigned = $this->castValueIfNeeded("isSigned", $value); + return $this; } /** @@ -503,27 +807,36 @@ public function isVoicemail() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getIsVoicemail() + public function setIsVoicemail($value) { - return $this->isVoicemail; + $this->isVoicemail = $this->castValueIfNeeded("isVoicemail", $value); + return $this; } /** - * @return string[] + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType */ - public function getItemClasses() + public function setItemClasses(array $value) { - return $this->itemClasses; + $this->itemClasses = $this->castValueIfNeeded("itemClasses", $value); + return $this; } /** - * @return string[] + * @autogenerated This method is safe to replace + * @param $value string[] + * @return RulePredicatesType */ - public function getMessageClassifications() + public function setMessageClassifications(array $value) { - return $this->messageClassifications; + $this->messageClassifications = $this->castValueIfNeeded("messageClassifications", $value); + return $this; } /** @@ -535,11 +848,14 @@ public function isNotSentToMe() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getNotSentToMe() + public function setNotSentToMe($value) { - return $this->notSentToMe; + $this->notSentToMe = $this->castValueIfNeeded("notSentToMe", $value); + return $this; } /** @@ -551,11 +867,14 @@ public function isSentCcMe() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getSentCcMe() + public function setSentCcMe($value) { - return $this->sentCcMe; + $this->sentCcMe = $this->castValueIfNeeded("sentCcMe", $value); + return $this; } /** @@ -567,19 +886,25 @@ public function isSentOnlyToMe() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getSentOnlyToMe() + public function setSentOnlyToMe($value) { - return $this->sentOnlyToMe; + $this->sentOnlyToMe = $this->castValueIfNeeded("sentOnlyToMe", $value); + return $this; } /** - * @return EmailAddressType[] + * @autogenerated This method is safe to replace + * @param $value EmailAddressType[] + * @return RulePredicatesType */ - public function getSentToAddresses() + public function setSentToAddresses(array $value) { - return $this->sentToAddresses; + $this->sentToAddresses = $this->castValueIfNeeded("sentToAddresses", $value); + return $this; } /** @@ -591,11 +916,14 @@ public function isSentToMe() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getSentToMe() + public function setSentToMe($value) { - return $this->sentToMe; + $this->sentToMe = $this->castValueIfNeeded("sentToMe", $value); + return $this; } /** @@ -607,34 +935,46 @@ public function isSentToOrCcMe() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RulePredicatesType */ - public function getSentToOrCcMe() + public function setSentToOrCcMe($value) { - return $this->sentToOrCcMe; + $this->sentToOrCcMe = $this->castValueIfNeeded("sentToOrCcMe", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return RulePredicatesType */ - public function getSensitivity() + public function setSensitivity($value) { - return $this->sensitivity; + $this->sensitivity = $this->castValueIfNeeded("sensitivity", $value); + return $this; } /** - * @return RulePredicateDateRangeType + * @autogenerated This method is safe to replace + * @param $value RulePredicateDateRangeType + * @return RulePredicatesType */ - public function getWithinDateRange() + public function setWithinDateRange(RulePredicateDateRangeType $value) { - return $this->withinDateRange; + $this->withinDateRange = $this->castValueIfNeeded("withinDateRange", $value); + return $this; } /** - * @return RulePredicateSizeRangeType + * @autogenerated This method is safe to replace + * @param $value RulePredicateSizeRangeType + * @return RulePredicatesType */ - public function getWithinSizeRange() + public function setWithinSizeRange(RulePredicateSizeRangeType $value) { - return $this->withinSizeRange; + $this->withinSizeRange = $this->castValueIfNeeded("withinSizeRange", $value); + return $this; } } diff --git a/src/API/Type/RuleType.php b/src/API/Type/RuleType.php index 03ea7b63..9a7c12b4 100644 --- a/src/API/Type/RuleType.php +++ b/src/API/Type/RuleType.php @@ -9,16 +9,6 @@ * * Rule type * XSD Type: RuleType - * - * @method RuleType setRuleId(string $ruleId) - * @method RuleType setDisplayName(string $displayName) - * @method RuleType setPriority(integer $priority) - * @method RuleType setIsEnabled(boolean $isEnabled) - * @method RuleType setIsNotSupported(boolean $isNotSupported) - * @method RuleType setIsInError(boolean $isInError) - * @method RuleType setConditions(RulePredicatesType $conditions) - * @method RuleType setExceptions(RulePredicatesType $exceptions) - * @method RuleType setActions(RuleActionsType $actions) */ class RuleType extends Type { @@ -92,6 +82,87 @@ public function getPriority() return $this->priority; } + /** + * @return boolean + */ + public function getIsEnabled() + { + return $this->isEnabled; + } + + /** + * @return boolean + */ + public function getIsNotSupported() + { + return $this->isNotSupported; + } + + /** + * @return boolean + */ + public function getIsInError() + { + return $this->isInError; + } + + /** + * @return RulePredicatesType + */ + public function getConditions() + { + return $this->conditions; + } + + /** + * @return RulePredicatesType + */ + public function getExceptions() + { + return $this->exceptions; + } + + /** + * @return RuleActionsType + */ + public function getActions() + { + return $this->actions; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleType + */ + public function setRuleId($value) + { + $this->ruleId = $this->castValueIfNeeded("ruleId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleType + */ + public function setDisplayName($value) + { + $this->displayName = $this->castValueIfNeeded("displayName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return RuleType + */ + public function setPriority($value) + { + $this->priority = $this->castValueIfNeeded("priority", $value); + return $this; + } + /** * @returns bool */ @@ -101,11 +172,14 @@ public function isEnabled() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleType */ - public function getIsEnabled() + public function setIsEnabled($value) { - return $this->isEnabled; + $this->isEnabled = $this->castValueIfNeeded("isEnabled", $value); + return $this; } /** @@ -117,11 +191,14 @@ public function isNotSupported() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleType */ - public function getIsNotSupported() + public function setIsNotSupported($value) { - return $this->isNotSupported; + $this->isNotSupported = $this->castValueIfNeeded("isNotSupported", $value); + return $this; } /** @@ -133,34 +210,46 @@ public function isInError() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return RuleType */ - public function getIsInError() + public function setIsInError($value) { - return $this->isInError; + $this->isInError = $this->castValueIfNeeded("isInError", $value); + return $this; } /** - * @return RulePredicatesType + * @autogenerated This method is safe to replace + * @param $value RulePredicatesType + * @return RuleType */ - public function getConditions() + public function setConditions(RulePredicatesType $value) { - return $this->conditions; + $this->conditions = $this->castValueIfNeeded("conditions", $value); + return $this; } /** - * @return RulePredicatesType + * @autogenerated This method is safe to replace + * @param $value RulePredicatesType + * @return RuleType */ - public function getExceptions() + public function setExceptions(RulePredicatesType $value) { - return $this->exceptions; + $this->exceptions = $this->castValueIfNeeded("exceptions", $value); + return $this; } /** - * @return RuleActionsType + * @autogenerated This method is safe to replace + * @param $value RuleActionsType + * @return RuleType */ - public function getActions() + public function setActions(RuleActionsType $value) { - return $this->actions; + $this->actions = $this->castValueIfNeeded("actions", $value); + return $this; } } diff --git a/src/API/Type/RuleValidationErrorType.php b/src/API/Type/RuleValidationErrorType.php index 3f18808d..437316ac 100644 --- a/src/API/Type/RuleValidationErrorType.php +++ b/src/API/Type/RuleValidationErrorType.php @@ -7,13 +7,9 @@ /** * Class representing RuleValidationErrorType * - * Represents a single validation error on a particular rule property value, predicate property value or action property value + * Represents a single validation error on a particular rule property value, + * predicate property value or action property value * XSD Type: RuleValidationErrorType - * - * @method RuleValidationErrorType setFieldURI(string $fieldURI) - * @method RuleValidationErrorType setErrorCode(string $errorCode) - * @method RuleValidationErrorType setErrorMessage(string $errorMessage) - * @method RuleValidationErrorType setFieldValue(string $fieldValue) */ class RuleValidationErrorType extends Type { @@ -69,4 +65,48 @@ public function getFieldValue() { return $this->fieldValue; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleValidationErrorType + */ + public function setFieldURI($value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleValidationErrorType + */ + public function setErrorCode($value) + { + $this->errorCode = $this->castValueIfNeeded("errorCode", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleValidationErrorType + */ + public function setErrorMessage($value) + { + $this->errorMessage = $this->castValueIfNeeded("errorMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return RuleValidationErrorType + */ + public function setFieldValue($value) + { + $this->fieldValue = $this->castValueIfNeeded("fieldValue", $value); + return $this; + } } diff --git a/src/API/Type/SearchFolderType.php b/src/API/Type/SearchFolderType.php index c3b4728b..5afb2d64 100644 --- a/src/API/Type/SearchFolderType.php +++ b/src/API/Type/SearchFolderType.php @@ -7,8 +7,6 @@ * * * XSD Type: SearchFolderType - * - * @method SearchFolderType setSearchParameters(SearchParametersType $searchParameters) */ class SearchFolderType extends FolderType { @@ -25,4 +23,15 @@ public function getSearchParameters() { return $this->searchParameters; } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchParametersType + * @return SearchFolderType + */ + public function setSearchParameters(SearchParametersType $value) + { + $this->searchParameters = $this->castValueIfNeeded("searchParameters", $value); + return $this; + } } diff --git a/src/API/Type/SearchParametersType.php b/src/API/Type/SearchParametersType.php index 05d3b269..5412793c 100644 --- a/src/API/Type/SearchParametersType.php +++ b/src/API/Type/SearchParametersType.php @@ -9,10 +9,6 @@ * * * XSD Type: SearchParametersType - * - * @method SearchParametersType setTraversal(string $traversal) - * @method SearchParametersType setRestriction(RestrictionType $restriction) - * @method SearchParametersType setBaseFolderIds(NonEmptyArrayOfBaseFolderIdsType $baseFolderIds) */ class SearchParametersType extends Type { @@ -55,4 +51,37 @@ public function getBaseFolderIds() { return $this->baseFolderIds; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SearchParametersType + */ + public function setTraversal($value) + { + $this->traversal = $this->castValueIfNeeded("traversal", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RestrictionType + * @return SearchParametersType + */ + public function setRestriction(RestrictionType $value) + { + $this->restriction = $this->castValueIfNeeded("restriction", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfBaseFolderIdsType + * @return SearchParametersType + */ + public function setBaseFolderIds(NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->baseFolderIds = $this->castValueIfNeeded("baseFolderIds", $value); + return $this; + } } diff --git a/src/API/Type/SerializableTimeZoneTimeType.php b/src/API/Type/SerializableTimeZoneTimeType.php index 3450cd17..a33474f6 100644 --- a/src/API/Type/SerializableTimeZoneTimeType.php +++ b/src/API/Type/SerializableTimeZoneTimeType.php @@ -9,13 +9,6 @@ * * * XSD Type: SerializableTimeZoneTime - * - * @method SerializableTimeZoneTimeType setBias(integer $bias) - * @method SerializableTimeZoneTimeType setTime(string $time) - * @method SerializableTimeZoneTimeType setDayOrder(integer $dayOrder) - * @method SerializableTimeZoneTimeType setMonth(integer $month) - * @method SerializableTimeZoneTimeType setDayOfWeek(string $dayOfWeek) - * @method SerializableTimeZoneTimeType setYear(string $year) */ class SerializableTimeZoneTimeType extends Type { @@ -97,4 +90,70 @@ public function getYear() { return $this->year; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SerializableTimeZoneTimeType + */ + public function setBias($value) + { + $this->bias = $this->castValueIfNeeded("bias", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SerializableTimeZoneTimeType + */ + public function setTime($value) + { + $this->time = $this->castValueIfNeeded("time", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SerializableTimeZoneTimeType + */ + public function setDayOrder($value) + { + $this->dayOrder = $this->castValueIfNeeded("dayOrder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SerializableTimeZoneTimeType + */ + public function setMonth($value) + { + $this->month = $this->castValueIfNeeded("month", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SerializableTimeZoneTimeType + */ + public function setDayOfWeek($value) + { + $this->dayOfWeek = $this->castValueIfNeeded("dayOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SerializableTimeZoneTimeType + */ + public function setYear($value) + { + $this->year = $this->castValueIfNeeded("year", $value); + return $this; + } } diff --git a/src/API/Type/SerializableTimeZoneType.php b/src/API/Type/SerializableTimeZoneType.php index 8a263cb2..ceea945b 100644 --- a/src/API/Type/SerializableTimeZoneType.php +++ b/src/API/Type/SerializableTimeZoneType.php @@ -9,10 +9,6 @@ * * * XSD Type: SerializableTimeZone - * - * @method SerializableTimeZoneType setBias(integer $bias) - * @method SerializableTimeZoneType setStandardTime(SerializableTimeZoneTimeType $standardTime) - * @method SerializableTimeZoneType setDaylightTime(SerializableTimeZoneTimeType $daylightTime) */ class SerializableTimeZoneType extends Type { @@ -55,4 +51,37 @@ public function getDaylightTime() { return $this->daylightTime; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SerializableTimeZoneType + */ + public function setBias($value) + { + $this->bias = $this->castValueIfNeeded("bias", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SerializableTimeZoneTimeType + * @return SerializableTimeZoneType + */ + public function setStandardTime(SerializableTimeZoneTimeType $value) + { + $this->standardTime = $this->castValueIfNeeded("standardTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SerializableTimeZoneTimeType + * @return SerializableTimeZoneType + */ + public function setDaylightTime(SerializableTimeZoneTimeType $value) + { + $this->daylightTime = $this->castValueIfNeeded("daylightTime", $value); + return $this; + } } diff --git a/src/API/Type/SerializedSecurityContextType.php b/src/API/Type/SerializedSecurityContextType.php index c2b04705..3c328cc1 100644 --- a/src/API/Type/SerializedSecurityContextType.php +++ b/src/API/Type/SerializedSecurityContextType.php @@ -10,12 +10,8 @@ * * XSD Type: SerializedSecurityContextType * - * @method SerializedSecurityContextType setUserSid(string $userSid) * @method SerializedSecurityContextType addGroupSids(SidAndAttributesType $groupSids) - * @method SerializedSecurityContextType setGroupSids(array $groupSids) * @method SerializedSecurityContextType addRestrictedGroupSids(SidAndAttributesType $restrictedGroupSids) - * @method SerializedSecurityContextType setRestrictedGroupSids(array $restrictedGroupSids) - * @method SerializedSecurityContextType setPrimarySmtpAddress(string $primarySmtpAddress) */ class SerializedSecurityContextType extends Type { @@ -71,4 +67,48 @@ public function getPrimarySmtpAddress() { return $this->primarySmtpAddress; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SerializedSecurityContextType + */ + public function setUserSid($value) + { + $this->userSid = $this->castValueIfNeeded("userSid", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SidAndAttributesType[] + * @return SerializedSecurityContextType + */ + public function setGroupSids(array $value) + { + $this->groupSids = $this->castValueIfNeeded("groupSids", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SidAndAttributesType[] + * @return SerializedSecurityContextType + */ + public function setRestrictedGroupSids(array $value) + { + $this->restrictedGroupSids = $this->castValueIfNeeded("restrictedGroupSids", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SerializedSecurityContextType + */ + public function setPrimarySmtpAddress($value) + { + $this->primarySmtpAddress = $this->castValueIfNeeded("primarySmtpAddress", $value); + return $this; + } } diff --git a/src/API/Type/ServerVersionInfo.php b/src/API/Type/ServerVersionInfo.php index 3ed1fdc3..1763c22c 100644 --- a/src/API/Type/ServerVersionInfo.php +++ b/src/API/Type/ServerVersionInfo.php @@ -6,12 +6,6 @@ /** * Class representing ServerVersionInfo - * - * @method ServerVersionInfo setMajorVersion(integer $majorVersion) - * @method ServerVersionInfo setMinorVersion(integer $minorVersion) - * @method ServerVersionInfo setMajorBuildNumber(integer $majorBuildNumber) - * @method ServerVersionInfo setMinorBuildNumber(integer $minorBuildNumber) - * @method ServerVersionInfo setVersion(string $version) */ class ServerVersionInfo extends Type { @@ -80,4 +74,59 @@ public function getVersion() { return $this->version; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ServerVersionInfo + */ + public function setMajorVersion($value) + { + $this->majorVersion = $this->castValueIfNeeded("majorVersion", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ServerVersionInfo + */ + public function setMinorVersion($value) + { + $this->minorVersion = $this->castValueIfNeeded("minorVersion", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ServerVersionInfo + */ + public function setMajorBuildNumber($value) + { + $this->majorBuildNumber = $this->castValueIfNeeded("majorBuildNumber", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return ServerVersionInfo + */ + public function setMinorBuildNumber($value) + { + $this->minorBuildNumber = $this->castValueIfNeeded("minorBuildNumber", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ServerVersionInfo + */ + public function setVersion($value) + { + $this->version = $this->castValueIfNeeded("version", $value); + return $this; + } } diff --git a/src/API/Type/SetFolderFieldType.php b/src/API/Type/SetFolderFieldType.php index 92109a76..c26365b4 100644 --- a/src/API/Type/SetFolderFieldType.php +++ b/src/API/Type/SetFolderFieldType.php @@ -7,12 +7,6 @@ * * * XSD Type: SetFolderFieldType - * - * @method SetFolderFieldType setFolder(FolderType $folder) - * @method SetFolderFieldType setCalendarFolder(CalendarFolderType $calendarFolder) - * @method SetFolderFieldType setContactsFolder(ContactsFolderType $contactsFolder) - * @method SetFolderFieldType setSearchFolder(SearchFolderType $searchFolder) - * @method SetFolderFieldType setTasksFolder(TasksFolderType $tasksFolder) */ class SetFolderFieldType extends FolderChangeDescriptionType { @@ -81,4 +75,59 @@ public function getTasksFolder() { return $this->tasksFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderType + * @return SetFolderFieldType + */ + public function setFolder(FolderType $value) + { + $this->folder = $this->castValueIfNeeded("folder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarFolderType + * @return SetFolderFieldType + */ + public function setCalendarFolder(CalendarFolderType $value) + { + $this->calendarFolder = $this->castValueIfNeeded("calendarFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactsFolderType + * @return SetFolderFieldType + */ + public function setContactsFolder(ContactsFolderType $value) + { + $this->contactsFolder = $this->castValueIfNeeded("contactsFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchFolderType + * @return SetFolderFieldType + */ + public function setSearchFolder(SearchFolderType $value) + { + $this->searchFolder = $this->castValueIfNeeded("searchFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TasksFolderType + * @return SetFolderFieldType + */ + public function setTasksFolder(TasksFolderType $value) + { + $this->tasksFolder = $this->castValueIfNeeded("tasksFolder", $value); + return $this; + } } diff --git a/src/API/Type/SetItemFieldType.php b/src/API/Type/SetItemFieldType.php index 4e35d9c7..fde258ee 100644 --- a/src/API/Type/SetItemFieldType.php +++ b/src/API/Type/SetItemFieldType.php @@ -7,18 +7,6 @@ * * * XSD Type: SetItemFieldType - * - * @method SetItemFieldType setItem(ItemType $item) - * @method SetItemFieldType setMessage(MessageType $message) - * @method SetItemFieldType setCalendarItem(CalendarItemType $calendarItem) - * @method SetItemFieldType setContact(ContactItemType $contact) - * @method SetItemFieldType setDistributionList(DistributionListType $distributionList) - * @method SetItemFieldType setMeetingMessage(MeetingMessageType $meetingMessage) - * @method SetItemFieldType setMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method SetItemFieldType setMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method SetItemFieldType setMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method SetItemFieldType setTask(TaskType $task) - * @method SetItemFieldType setPostItem(PostItemType $postItem) */ class SetItemFieldType extends ItemChangeDescriptionType { @@ -165,4 +153,125 @@ public function getPostItem() { return $this->postItem; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType + * @return SetItemFieldType + */ + public function setItem(ItemType $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType + * @return SetItemFieldType + */ + public function setMessage(MessageType $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType + * @return SetItemFieldType + */ + public function setCalendarItem(CalendarItemType $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType + * @return SetItemFieldType + */ + public function setContact(ContactItemType $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistributionListType + * @return SetItemFieldType + */ + public function setDistributionList(DistributionListType $value) + { + $this->distributionList = $this->castValueIfNeeded("distributionList", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType + * @return SetItemFieldType + */ + public function setMeetingMessage(MeetingMessageType $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType + * @return SetItemFieldType + */ + public function setMeetingRequest(MeetingRequestMessageType $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType + * @return SetItemFieldType + */ + public function setMeetingResponse(MeetingResponseMessageType $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType + * @return SetItemFieldType + */ + public function setMeetingCancellation(MeetingCancellationMessageType $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType + * @return SetItemFieldType + */ + public function setTask(TaskType $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType + * @return SetItemFieldType + */ + public function setPostItem(PostItemType $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } } diff --git a/src/API/Type/SetRuleOperationType.php b/src/API/Type/SetRuleOperationType.php index 8169e80d..ffb4355a 100644 --- a/src/API/Type/SetRuleOperationType.php +++ b/src/API/Type/SetRuleOperationType.php @@ -7,8 +7,6 @@ * * * XSD Type: SetRuleOperationType - * - * @method SetRuleOperationType setRule(RuleType $rule) */ class SetRuleOperationType extends RuleOperationType { @@ -25,4 +23,15 @@ public function getRule() { return $this->rule; } + + /** + * @autogenerated This method is safe to replace + * @param $value RuleType + * @return SetRuleOperationType + */ + public function setRule(RuleType $value) + { + $this->rule = $this->castValueIfNeeded("rule", $value); + return $this; + } } diff --git a/src/API/Type/SidAndAttributesType.php b/src/API/Type/SidAndAttributesType.php index b49863e3..e1ef1115 100644 --- a/src/API/Type/SidAndAttributesType.php +++ b/src/API/Type/SidAndAttributesType.php @@ -9,9 +9,6 @@ * * * XSD Type: SidAndAttributesType - * - * @method SidAndAttributesType setAttributes(integer $attributes) - * @method SidAndAttributesType setSecurityIdentifier(string $securityIdentifier) */ class SidAndAttributesType extends Type { @@ -41,4 +38,26 @@ public function getSecurityIdentifier() { return $this->securityIdentifier; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SidAndAttributesType + */ + public function setAttributes($value) + { + $this->attributes = $this->castValueIfNeeded("attributes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SidAndAttributesType + */ + public function setSecurityIdentifier($value) + { + $this->securityIdentifier = $this->castValueIfNeeded("securityIdentifier", $value); + return $this; + } } diff --git a/src/API/Type/SingleRecipientType.php b/src/API/Type/SingleRecipientType.php index f2bdc831..8dec5603 100644 --- a/src/API/Type/SingleRecipientType.php +++ b/src/API/Type/SingleRecipientType.php @@ -9,8 +9,6 @@ * * * XSD Type: SingleRecipientType - * - * @method SingleRecipientType setMailbox(EmailAddressType $mailbox) */ class SingleRecipientType extends Type { @@ -36,4 +34,15 @@ public function getMailbox() { return $this->mailbox; } + + /** + * @autogenerated This method is safe to replace + * @param $value EmailAddressType + * @return SingleRecipientType + */ + public function setMailbox(EmailAddressType $value) + { + $this->mailbox = $this->castValueIfNeeded("mailbox", $value); + return $this; + } } diff --git a/src/API/Type/SmartResponseType.php b/src/API/Type/SmartResponseType.php index c4b4ee8e..a40fcb31 100644 --- a/src/API/Type/SmartResponseType.php +++ b/src/API/Type/SmartResponseType.php @@ -7,8 +7,6 @@ * * * XSD Type: SmartResponseType - * - * @method SmartResponseType setNewBodyContent(BodyType $newBodyContent) */ class SmartResponseType extends SmartResponseBaseType { @@ -25,4 +23,15 @@ public function getNewBodyContent() { return $this->newBodyContent; } + + /** + * @autogenerated This method is safe to replace + * @param $value BodyType + * @return SmartResponseType + */ + public function setNewBodyContent(BodyType $value) + { + $this->newBodyContent = $this->castValueIfNeeded("newBodyContent", $value); + return $this; + } } diff --git a/src/API/Type/SmtpDomainType.php b/src/API/Type/SmtpDomainType.php index beeaba1a..aa1fdb59 100644 --- a/src/API/Type/SmtpDomainType.php +++ b/src/API/Type/SmtpDomainType.php @@ -9,9 +9,6 @@ * * * XSD Type: SmtpDomain - * - * @method SmtpDomainType setName(string $name) - * @method SmtpDomainType setIncludeSubdomains(boolean $includeSubdomains) */ class SmtpDomainType extends Type { @@ -34,6 +31,25 @@ public function getName() return $this->name; } + /** + * @return boolean + */ + public function getIncludeSubdomains() + { + return $this->includeSubdomains; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SmtpDomainType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + /** * @returns bool */ @@ -43,10 +59,13 @@ public function isIncludeSubdomains() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return SmtpDomainType */ - public function getIncludeSubdomains() + public function setIncludeSubdomains($value) { - return $this->includeSubdomains; + $this->includeSubdomains = $this->castValueIfNeeded("includeSubdomains", $value); + return $this; } } diff --git a/src/API/Type/StreamingSubscriptionRequestType.php b/src/API/Type/StreamingSubscriptionRequestType.php index bca71133..fbfa8b6b 100644 --- a/src/API/Type/StreamingSubscriptionRequestType.php +++ b/src/API/Type/StreamingSubscriptionRequestType.php @@ -10,10 +10,7 @@ * * XSD Type: StreamingSubscriptionRequestType * - * @method StreamingSubscriptionRequestType setSubscribeToAllFolders(boolean $subscribeToAllFolders) - * @method StreamingSubscriptionRequestType setFolderIds(NonEmptyArrayOfBaseFolderIdsType $folderIds) * @method StreamingSubscriptionRequestType addEventTypes(string $eventTypes) - * @method StreamingSubscriptionRequestType setEventTypes(array $eventTypes) */ class StreamingSubscriptionRequestType extends Type { @@ -33,14 +30,6 @@ class StreamingSubscriptionRequestType extends Type */ protected $eventTypes = null; - /** - * @returns bool - */ - public function isSubscribeToAllFolders() - { - return ((bool) $this->subscribeToAllFolders); - } - /** * @return boolean */ @@ -64,4 +53,45 @@ public function getEventTypes() { return $this->eventTypes; } + + /** + * @returns bool + */ + public function isSubscribeToAllFolders() + { + return ((bool) $this->subscribeToAllFolders); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return StreamingSubscriptionRequestType + */ + public function setSubscribeToAllFolders($value) + { + $this->subscribeToAllFolders = $this->castValueIfNeeded("subscribeToAllFolders", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NonEmptyArrayOfBaseFolderIdsType + * @return StreamingSubscriptionRequestType + */ + public function setFolderIds(NonEmptyArrayOfBaseFolderIdsType $value) + { + $this->folderIds = $this->castValueIfNeeded("folderIds", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return StreamingSubscriptionRequestType + */ + public function setEventTypes(array $value) + { + $this->eventTypes = $this->castValueIfNeeded("eventTypes", $value); + return $this; + } } diff --git a/src/API/Type/SuggestionDayResultType.php b/src/API/Type/SuggestionDayResultType.php index 990b2517..a6c8db9b 100644 --- a/src/API/Type/SuggestionDayResultType.php +++ b/src/API/Type/SuggestionDayResultType.php @@ -10,10 +10,7 @@ * * XSD Type: SuggestionDayResult * - * @method SuggestionDayResultType setDate(\DateTime $date) - * @method SuggestionDayResultType setDayQuality(string $dayQuality) * @method SuggestionDayResultType addSuggestionArray(SuggestionType $suggestionArray) - * @method SuggestionDayResultType setSuggestionArray(array $suggestionArray) */ class SuggestionDayResultType extends Type { @@ -60,4 +57,37 @@ public function getSuggestionArray() { return $this->suggestionArray; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return SuggestionDayResultType + */ + public function setDate(\DateTime|string $value) + { + $this->date = $this->castValueIfNeeded("date", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SuggestionDayResultType + */ + public function setDayQuality($value) + { + $this->dayQuality = $this->castValueIfNeeded("dayQuality", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SuggestionType[] + * @return SuggestionDayResultType + */ + public function setSuggestionArray(array $value) + { + $this->suggestionArray = $this->castValueIfNeeded("suggestionArray", $value); + return $this; + } } diff --git a/src/API/Type/SuggestionType.php b/src/API/Type/SuggestionType.php index 802a03c4..f57706af 100644 --- a/src/API/Type/SuggestionType.php +++ b/src/API/Type/SuggestionType.php @@ -9,11 +9,6 @@ * * * XSD Type: Suggestion - * - * @method SuggestionType setMeetingTime(\DateTime $meetingTime) - * @method SuggestionType setIsWorkTime(boolean $isWorkTime) - * @method SuggestionType setSuggestionQuality(string $suggestionQuality) - * @method SuggestionType setAttendeeConflictDataArray(ArrayOfAttendeeConflictDataType $attendeeConflictDataArray) */ class SuggestionType extends Type { @@ -50,14 +45,6 @@ public function getMeetingTime() return $this->meetingTime; } - /** - * @returns bool - */ - public function isWorkTime() - { - return ((bool) $this->isWorkTime); - } - /** * @return boolean */ @@ -81,4 +68,56 @@ public function getAttendeeConflictDataArray() { return $this->attendeeConflictDataArray; } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return SuggestionType + */ + public function setMeetingTime(\DateTime|string $value) + { + $this->meetingTime = $this->castValueIfNeeded("meetingTime", $value); + return $this; + } + + /** + * @returns bool + */ + public function isWorkTime() + { + return ((bool) $this->isWorkTime); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return SuggestionType + */ + public function setIsWorkTime($value) + { + $this->isWorkTime = $this->castValueIfNeeded("isWorkTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SuggestionType + */ + public function setSuggestionQuality($value) + { + $this->suggestionQuality = $this->castValueIfNeeded("suggestionQuality", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfAttendeeConflictDataType + * @return SuggestionType + */ + public function setAttendeeConflictDataArray(ArrayOfAttendeeConflictDataType $value) + { + $this->attendeeConflictDataArray = $this->castValueIfNeeded("attendeeConflictDataArray", $value); + return $this; + } } diff --git a/src/API/Type/SuggestionsViewOptionsType.php b/src/API/Type/SuggestionsViewOptionsType.php index d3439439..0d64ffb8 100644 --- a/src/API/Type/SuggestionsViewOptionsType.php +++ b/src/API/Type/SuggestionsViewOptionsType.php @@ -9,15 +9,6 @@ * * * XSD Type: SuggestionsViewOptionsType - * - * @method SuggestionsViewOptionsType setGoodThreshold(integer $goodThreshold) - * @method SuggestionsViewOptionsType setMaximumResultsByDay(integer $maximumResultsByDay) - * @method SuggestionsViewOptionsType setMaximumNonWorkHourResultsByDay(integer $maximumNonWorkHourResultsByDay) - * @method SuggestionsViewOptionsType setMeetingDurationInMinutes(integer $meetingDurationInMinutes) - * @method SuggestionsViewOptionsType setMinimumSuggestionQuality(string $minimumSuggestionQuality) - * @method SuggestionsViewOptionsType setDetailedSuggestionsWindow(DurationType $detailedSuggestionsWindow) - * @method SuggestionsViewOptionsType setCurrentMeetingTime(\DateTime $currentMeetingTime) - * @method SuggestionsViewOptionsType setGlobalObjectId(string $globalObjectId) */ class SuggestionsViewOptionsType extends Type { @@ -129,4 +120,92 @@ public function getGlobalObjectId() { return $this->globalObjectId; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SuggestionsViewOptionsType + */ + public function setGoodThreshold($value) + { + $this->goodThreshold = $this->castValueIfNeeded("goodThreshold", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SuggestionsViewOptionsType + */ + public function setMaximumResultsByDay($value) + { + $this->maximumResultsByDay = $this->castValueIfNeeded("maximumResultsByDay", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SuggestionsViewOptionsType + */ + public function setMaximumNonWorkHourResultsByDay($value) + { + $this->maximumNonWorkHourResultsByDay = $this->castValueIfNeeded("maximumNonWorkHourResultsByDay", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return SuggestionsViewOptionsType + */ + public function setMeetingDurationInMinutes($value) + { + $this->meetingDurationInMinutes = $this->castValueIfNeeded("meetingDurationInMinutes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SuggestionsViewOptionsType + */ + public function setMinimumSuggestionQuality($value) + { + $this->minimumSuggestionQuality = $this->castValueIfNeeded("minimumSuggestionQuality", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DurationType + * @return SuggestionsViewOptionsType + */ + public function setDetailedSuggestionsWindow(DurationType $value) + { + $this->detailedSuggestionsWindow = $this->castValueIfNeeded("detailedSuggestionsWindow", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return SuggestionsViewOptionsType + */ + public function setCurrentMeetingTime(\DateTime|string $value) + { + $this->currentMeetingTime = $this->castValueIfNeeded("currentMeetingTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return SuggestionsViewOptionsType + */ + public function setGlobalObjectId($value) + { + $this->globalObjectId = $this->castValueIfNeeded("globalObjectId", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderHierarchyChangesType.php b/src/API/Type/SyncFolderHierarchyChangesType.php index 110ec930..137e55e9 100644 --- a/src/API/Type/SyncFolderHierarchyChangesType.php +++ b/src/API/Type/SyncFolderHierarchyChangesType.php @@ -11,11 +11,8 @@ * XSD Type: SyncFolderHierarchyChangesType * * @method SyncFolderHierarchyChangesType addCreate(SyncFolderHierarchyCreateOrUpdateType $create) - * @method SyncFolderHierarchyChangesType setCreate(array $create) * @method SyncFolderHierarchyChangesType addUpdate(SyncFolderHierarchyCreateOrUpdateType $update) - * @method SyncFolderHierarchyChangesType setUpdate(array $update) * @method SyncFolderHierarchyChangesType addDelete(SyncFolderHierarchyDeleteType $delete) - * @method SyncFolderHierarchyChangesType setDelete(array $delete) */ class SyncFolderHierarchyChangesType extends Type { @@ -58,4 +55,37 @@ public function getDelete() { return $this->delete; } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderHierarchyCreateOrUpdateType[] + * @return SyncFolderHierarchyChangesType + */ + public function setCreate(array $value) + { + $this->create = $this->castValueIfNeeded("create", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderHierarchyCreateOrUpdateType[] + * @return SyncFolderHierarchyChangesType + */ + public function setUpdate(array $value) + { + $this->update = $this->castValueIfNeeded("update", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderHierarchyDeleteType[] + * @return SyncFolderHierarchyChangesType + */ + public function setDelete(array $value) + { + $this->delete = $this->castValueIfNeeded("delete", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderHierarchyCreateOrUpdateType.php b/src/API/Type/SyncFolderHierarchyCreateOrUpdateType.php index a933355a..da1f6ff2 100644 --- a/src/API/Type/SyncFolderHierarchyCreateOrUpdateType.php +++ b/src/API/Type/SyncFolderHierarchyCreateOrUpdateType.php @@ -9,12 +9,6 @@ * * * XSD Type: SyncFolderHierarchyCreateOrUpdateType - * - * @method SyncFolderHierarchyCreateOrUpdateType setFolder(FolderType $folder) - * @method SyncFolderHierarchyCreateOrUpdateType setCalendarFolder(CalendarFolderType $calendarFolder) - * @method SyncFolderHierarchyCreateOrUpdateType setContactsFolder(ContactsFolderType $contactsFolder) - * @method SyncFolderHierarchyCreateOrUpdateType setSearchFolder(SearchFolderType $searchFolder) - * @method SyncFolderHierarchyCreateOrUpdateType setTasksFolder(TasksFolderType $tasksFolder) */ class SyncFolderHierarchyCreateOrUpdateType extends Type { @@ -83,4 +77,59 @@ public function getTasksFolder() { return $this->tasksFolder; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderType + * @return SyncFolderHierarchyCreateOrUpdateType + */ + public function setFolder(FolderType $value) + { + $this->folder = $this->castValueIfNeeded("folder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarFolderType + * @return SyncFolderHierarchyCreateOrUpdateType + */ + public function setCalendarFolder(CalendarFolderType $value) + { + $this->calendarFolder = $this->castValueIfNeeded("calendarFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactsFolderType + * @return SyncFolderHierarchyCreateOrUpdateType + */ + public function setContactsFolder(ContactsFolderType $value) + { + $this->contactsFolder = $this->castValueIfNeeded("contactsFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SearchFolderType + * @return SyncFolderHierarchyCreateOrUpdateType + */ + public function setSearchFolder(SearchFolderType $value) + { + $this->searchFolder = $this->castValueIfNeeded("searchFolder", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TasksFolderType + * @return SyncFolderHierarchyCreateOrUpdateType + */ + public function setTasksFolder(TasksFolderType $value) + { + $this->tasksFolder = $this->castValueIfNeeded("tasksFolder", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderHierarchyDeleteType.php b/src/API/Type/SyncFolderHierarchyDeleteType.php index b939a6e9..d87b921f 100644 --- a/src/API/Type/SyncFolderHierarchyDeleteType.php +++ b/src/API/Type/SyncFolderHierarchyDeleteType.php @@ -9,8 +9,6 @@ * * * XSD Type: SyncFolderHierarchyDeleteType - * - * @method SyncFolderHierarchyDeleteType setFolderId(FolderIdType $folderId) */ class SyncFolderHierarchyDeleteType extends Type { @@ -27,4 +25,15 @@ public function getFolderId() { return $this->folderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return SyncFolderHierarchyDeleteType + */ + public function setFolderId(FolderIdType $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderItemsChangesType.php b/src/API/Type/SyncFolderItemsChangesType.php index 6f3ae338..67baae93 100644 --- a/src/API/Type/SyncFolderItemsChangesType.php +++ b/src/API/Type/SyncFolderItemsChangesType.php @@ -11,13 +11,9 @@ * XSD Type: SyncFolderItemsChangesType * * @method SyncFolderItemsChangesType addCreate(SyncFolderItemsCreateOrUpdateType $create) - * @method SyncFolderItemsChangesType setCreate(array $create) * @method SyncFolderItemsChangesType addUpdate(SyncFolderItemsCreateOrUpdateType $update) - * @method SyncFolderItemsChangesType setUpdate(array $update) * @method SyncFolderItemsChangesType addDelete(SyncFolderItemsDeleteType $delete) - * @method SyncFolderItemsChangesType setDelete(array $delete) * @method SyncFolderItemsChangesType addReadFlagChange(SyncFolderItemsReadFlagType $readFlagChange) - * @method SyncFolderItemsChangesType setReadFlagChange(array $readFlagChange) */ class SyncFolderItemsChangesType extends Type { @@ -73,4 +69,48 @@ public function getReadFlagChange() { return $this->readFlagChange; } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderItemsCreateOrUpdateType[] + * @return SyncFolderItemsChangesType + */ + public function setCreate(array $value) + { + $this->create = $this->castValueIfNeeded("create", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderItemsCreateOrUpdateType[] + * @return SyncFolderItemsChangesType + */ + public function setUpdate(array $value) + { + $this->update = $this->castValueIfNeeded("update", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderItemsDeleteType[] + * @return SyncFolderItemsChangesType + */ + public function setDelete(array $value) + { + $this->delete = $this->castValueIfNeeded("delete", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value SyncFolderItemsReadFlagType[] + * @return SyncFolderItemsChangesType + */ + public function setReadFlagChange(array $value) + { + $this->readFlagChange = $this->castValueIfNeeded("readFlagChange", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderItemsCreateOrUpdateType.php b/src/API/Type/SyncFolderItemsCreateOrUpdateType.php index 3cef2817..e7b138d7 100644 --- a/src/API/Type/SyncFolderItemsCreateOrUpdateType.php +++ b/src/API/Type/SyncFolderItemsCreateOrUpdateType.php @@ -9,18 +9,6 @@ * * * XSD Type: SyncFolderItemsCreateOrUpdateType - * - * @method SyncFolderItemsCreateOrUpdateType setItem(ItemType $item) - * @method SyncFolderItemsCreateOrUpdateType setMessage(MessageType $message) - * @method SyncFolderItemsCreateOrUpdateType setCalendarItem(CalendarItemType $calendarItem) - * @method SyncFolderItemsCreateOrUpdateType setContact(ContactItemType $contact) - * @method SyncFolderItemsCreateOrUpdateType setDistributionList(DistributionListType $distributionList) - * @method SyncFolderItemsCreateOrUpdateType setMeetingMessage(MeetingMessageType $meetingMessage) - * @method SyncFolderItemsCreateOrUpdateType setMeetingRequest(MeetingRequestMessageType $meetingRequest) - * @method SyncFolderItemsCreateOrUpdateType setMeetingResponse(MeetingResponseMessageType $meetingResponse) - * @method SyncFolderItemsCreateOrUpdateType setMeetingCancellation(MeetingCancellationMessageType $meetingCancellation) - * @method SyncFolderItemsCreateOrUpdateType setTask(TaskType $task) - * @method SyncFolderItemsCreateOrUpdateType setPostItem(PostItemType $postItem) */ class SyncFolderItemsCreateOrUpdateType extends Type { @@ -167,4 +155,125 @@ public function getPostItem() { return $this->postItem; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setItem(ItemType $value) + { + $this->item = $this->castValueIfNeeded("item", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MessageType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setMessage(MessageType $value) + { + $this->message = $this->castValueIfNeeded("message", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value CalendarItemType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setCalendarItem(CalendarItemType $value) + { + $this->calendarItem = $this->castValueIfNeeded("calendarItem", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ContactItemType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setContact(ContactItemType $value) + { + $this->contact = $this->castValueIfNeeded("contact", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistributionListType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setDistributionList(DistributionListType $value) + { + $this->distributionList = $this->castValueIfNeeded("distributionList", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingMessageType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setMeetingMessage(MeetingMessageType $value) + { + $this->meetingMessage = $this->castValueIfNeeded("meetingMessage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingRequestMessageType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setMeetingRequest(MeetingRequestMessageType $value) + { + $this->meetingRequest = $this->castValueIfNeeded("meetingRequest", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingResponseMessageType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setMeetingResponse(MeetingResponseMessageType $value) + { + $this->meetingResponse = $this->castValueIfNeeded("meetingResponse", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MeetingCancellationMessageType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setMeetingCancellation(MeetingCancellationMessageType $value) + { + $this->meetingCancellation = $this->castValueIfNeeded("meetingCancellation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setTask(TaskType $value) + { + $this->task = $this->castValueIfNeeded("task", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PostItemType + * @return SyncFolderItemsCreateOrUpdateType + */ + public function setPostItem(PostItemType $value) + { + $this->postItem = $this->castValueIfNeeded("postItem", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderItemsDeleteType.php b/src/API/Type/SyncFolderItemsDeleteType.php index 4534cf50..afe601da 100644 --- a/src/API/Type/SyncFolderItemsDeleteType.php +++ b/src/API/Type/SyncFolderItemsDeleteType.php @@ -9,8 +9,6 @@ * * * XSD Type: SyncFolderItemsDeleteType - * - * @method SyncFolderItemsDeleteType setItemId(ItemIdType $itemId) */ class SyncFolderItemsDeleteType extends Type { @@ -27,4 +25,15 @@ public function getItemId() { return $this->itemId; } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return SyncFolderItemsDeleteType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } } diff --git a/src/API/Type/SyncFolderItemsReadFlagType.php b/src/API/Type/SyncFolderItemsReadFlagType.php index 626ef6ab..897715d3 100644 --- a/src/API/Type/SyncFolderItemsReadFlagType.php +++ b/src/API/Type/SyncFolderItemsReadFlagType.php @@ -9,9 +9,6 @@ * * * XSD Type: SyncFolderItemsReadFlagType - * - * @method SyncFolderItemsReadFlagType setItemId(ItemIdType $itemId) - * @method SyncFolderItemsReadFlagType setIsRead(boolean $isRead) */ class SyncFolderItemsReadFlagType extends Type { @@ -34,6 +31,25 @@ public function getItemId() return $this->itemId; } + /** + * @return boolean + */ + public function getIsRead() + { + return $this->isRead; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return SyncFolderItemsReadFlagType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + /** * @returns bool */ @@ -43,10 +59,13 @@ public function isRead() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return SyncFolderItemsReadFlagType */ - public function getIsRead() + public function setIsRead($value) { - return $this->isRead; + $this->isRead = $this->castValueIfNeeded("isRead", $value); + return $this; } } diff --git a/src/API/Type/TargetFolderIdType.php b/src/API/Type/TargetFolderIdType.php index b7625473..faca13e0 100644 --- a/src/API/Type/TargetFolderIdType.php +++ b/src/API/Type/TargetFolderIdType.php @@ -9,9 +9,6 @@ * * * XSD Type: TargetFolderIdType - * - * @method TargetFolderIdType setFolderId(FolderIdType $folderId) - * @method TargetFolderIdType setDistinguishedFolderId(DistinguishedFolderIdType $distinguishedFolderId) */ class TargetFolderIdType extends Type { @@ -41,4 +38,26 @@ public function getDistinguishedFolderId() { return $this->distinguishedFolderId; } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return TargetFolderIdType + */ + public function setFolderId(FolderIdType $value) + { + $this->folderId = $this->castValueIfNeeded("folderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DistinguishedFolderIdType + * @return TargetFolderIdType + */ + public function setDistinguishedFolderId(DistinguishedFolderIdType $value) + { + $this->distinguishedFolderId = $this->castValueIfNeeded("distinguishedFolderId", $value); + return $this; + } } diff --git a/src/API/Type/TaskRecurrenceType.php b/src/API/Type/TaskRecurrenceType.php index 0b6ded06..c2af8f64 100644 --- a/src/API/Type/TaskRecurrenceType.php +++ b/src/API/Type/TaskRecurrenceType.php @@ -9,20 +9,6 @@ * * * XSD Type: TaskRecurrenceType - * - * @method TaskRecurrenceType setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $relativeYearlyRecurrence) - * @method TaskRecurrenceType setAbsoluteYearlyRecurrence(AbsoluteYearlyRecurrencePatternType $absoluteYearlyRecurrence) - * @method TaskRecurrenceType setRelativeMonthlyRecurrence(RelativeMonthlyRecurrencePatternType $relativeMonthlyRecurrence) - * @method TaskRecurrenceType setAbsoluteMonthlyRecurrence(AbsoluteMonthlyRecurrencePatternType $absoluteMonthlyRecurrence) - * @method TaskRecurrenceType setWeeklyRecurrence(WeeklyRecurrencePatternType $weeklyRecurrence) - * @method TaskRecurrenceType setDailyRecurrence(DailyRecurrencePatternType $dailyRecurrence) - * @method TaskRecurrenceType setDailyRegeneration(DailyRegeneratingPatternType $dailyRegeneration) - * @method TaskRecurrenceType setWeeklyRegeneration(WeeklyRegeneratingPatternType $weeklyRegeneration) - * @method TaskRecurrenceType setMonthlyRegeneration(MonthlyRegeneratingPatternType $monthlyRegeneration) - * @method TaskRecurrenceType setYearlyRegeneration(YearlyRegeneratingPatternType $yearlyRegeneration) - * @method TaskRecurrenceType setNoEndRecurrence(NoEndRecurrenceRangeType $noEndRecurrence) - * @method TaskRecurrenceType setEndDateRecurrence(EndDateRecurrenceRangeType $endDateRecurrence) - * @method TaskRecurrenceType setNumberedRecurrence(NumberedRecurrenceRangeType $numberedRecurrence) */ class TaskRecurrenceType extends Type { @@ -195,4 +181,147 @@ public function getNumberedRecurrence() { return $this->numberedRecurrence; } + + /** + * @autogenerated This method is safe to replace + * @param $value RelativeYearlyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $value) + { + $this->relativeYearlyRecurrence = $this->castValueIfNeeded("relativeYearlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AbsoluteYearlyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setAbsoluteYearlyRecurrence(AbsoluteYearlyRecurrencePatternType $value) + { + $this->absoluteYearlyRecurrence = $this->castValueIfNeeded("absoluteYearlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RelativeMonthlyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setRelativeMonthlyRecurrence(RelativeMonthlyRecurrencePatternType $value) + { + $this->relativeMonthlyRecurrence = $this->castValueIfNeeded("relativeMonthlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value AbsoluteMonthlyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setAbsoluteMonthlyRecurrence(AbsoluteMonthlyRecurrencePatternType $value) + { + $this->absoluteMonthlyRecurrence = $this->castValueIfNeeded("absoluteMonthlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value WeeklyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setWeeklyRecurrence(WeeklyRecurrencePatternType $value) + { + $this->weeklyRecurrence = $this->castValueIfNeeded("weeklyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DailyRecurrencePatternType + * @return TaskRecurrenceType + */ + public function setDailyRecurrence(DailyRecurrencePatternType $value) + { + $this->dailyRecurrence = $this->castValueIfNeeded("dailyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DailyRegeneratingPatternType + * @return TaskRecurrenceType + */ + public function setDailyRegeneration(DailyRegeneratingPatternType $value) + { + $this->dailyRegeneration = $this->castValueIfNeeded("dailyRegeneration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value WeeklyRegeneratingPatternType + * @return TaskRecurrenceType + */ + public function setWeeklyRegeneration(WeeklyRegeneratingPatternType $value) + { + $this->weeklyRegeneration = $this->castValueIfNeeded("weeklyRegeneration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value MonthlyRegeneratingPatternType + * @return TaskRecurrenceType + */ + public function setMonthlyRegeneration(MonthlyRegeneratingPatternType $value) + { + $this->monthlyRegeneration = $this->castValueIfNeeded("monthlyRegeneration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value YearlyRegeneratingPatternType + * @return TaskRecurrenceType + */ + public function setYearlyRegeneration(YearlyRegeneratingPatternType $value) + { + $this->yearlyRegeneration = $this->castValueIfNeeded("yearlyRegeneration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NoEndRecurrenceRangeType + * @return TaskRecurrenceType + */ + public function setNoEndRecurrence(NoEndRecurrenceRangeType $value) + { + $this->noEndRecurrence = $this->castValueIfNeeded("noEndRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value EndDateRecurrenceRangeType + * @return TaskRecurrenceType + */ + public function setEndDateRecurrence(EndDateRecurrenceRangeType $value) + { + $this->endDateRecurrence = $this->castValueIfNeeded("endDateRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value NumberedRecurrenceRangeType + * @return TaskRecurrenceType + */ + public function setNumberedRecurrence(NumberedRecurrenceRangeType $value) + { + $this->numberedRecurrence = $this->castValueIfNeeded("numberedRecurrence", $value); + return $this; + } } diff --git a/src/API/Type/TaskType.php b/src/API/Type/TaskType.php index 3c16ac05..69dbe290 100644 --- a/src/API/Type/TaskType.php +++ b/src/API/Type/TaskType.php @@ -8,30 +8,8 @@ * * XSD Type: TaskType * - * @method TaskType setActualWork(integer $actualWork) - * @method TaskType setAssignedTime(\DateTime $assignedTime) - * @method TaskType setBillingInformation(string $billingInformation) - * @method TaskType setChangeCount(integer $changeCount) * @method TaskType addCompanies(string $companies) - * @method TaskType setCompanies(array $companies) - * @method TaskType setCompleteDate(\DateTime $completeDate) * @method TaskType addContacts(string $contacts) - * @method TaskType setContacts(array $contacts) - * @method TaskType setDelegationState(string $delegationState) - * @method TaskType setDelegator(string $delegator) - * @method TaskType setDueDate(\DateTime $dueDate) - * @method TaskType setIsAssignmentEditable(integer $isAssignmentEditable) - * @method TaskType setIsComplete(boolean $isComplete) - * @method TaskType setIsRecurring(boolean $isRecurring) - * @method TaskType setIsTeamTask(boolean $isTeamTask) - * @method TaskType setMileage(string $mileage) - * @method TaskType setOwner(string $owner) - * @method TaskType setPercentComplete(float $percentComplete) - * @method TaskType setRecurrence(TaskRecurrenceType $recurrence) - * @method TaskType setStartDate(\DateTime $startDate) - * @method TaskType setStatus(string $status) - * @method TaskType setStatusDescription(string $statusDescription) - * @method TaskType setTotalWork(integer $totalWork) */ class TaskType extends ItemType { @@ -241,14 +219,6 @@ public function getIsAssignmentEditable() return $this->isAssignmentEditable; } - /** - * @returns bool - */ - public function isComplete() - { - return ((bool) $this->isComplete); - } - /** * @return boolean */ @@ -257,14 +227,6 @@ public function getIsComplete() return $this->isComplete; } - /** - * @returns bool - */ - public function isRecurring() - { - return ((bool) $this->isRecurring); - } - /** * @return boolean */ @@ -273,14 +235,6 @@ public function getIsRecurring() return $this->isRecurring; } - /** - * @returns bool - */ - public function isTeamTask() - { - return ((bool) $this->isTeamTask); - } - /** * @return boolean */ @@ -352,4 +306,270 @@ public function getTotalWork() { return $this->totalWork; } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return TaskType + */ + public function setActualWork($value) + { + $this->actualWork = $this->castValueIfNeeded("actualWork", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TaskType + */ + public function setAssignedTime(\DateTime|string $value) + { + $this->assignedTime = $this->castValueIfNeeded("assignedTime", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setBillingInformation($value) + { + $this->billingInformation = $this->castValueIfNeeded("billingInformation", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return TaskType + */ + public function setChangeCount($value) + { + $this->changeCount = $this->castValueIfNeeded("changeCount", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return TaskType + */ + public function setCompanies(array $value) + { + $this->companies = $this->castValueIfNeeded("companies", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TaskType + */ + public function setCompleteDate(\DateTime|string $value) + { + $this->completeDate = $this->castValueIfNeeded("completeDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return TaskType + */ + public function setContacts(array $value) + { + $this->contacts = $this->castValueIfNeeded("contacts", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setDelegationState($value) + { + $this->delegationState = $this->castValueIfNeeded("delegationState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setDelegator($value) + { + $this->delegator = $this->castValueIfNeeded("delegator", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TaskType + */ + public function setDueDate(\DateTime|string $value) + { + $this->dueDate = $this->castValueIfNeeded("dueDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return TaskType + */ + public function setIsAssignmentEditable($value) + { + $this->isAssignmentEditable = $this->castValueIfNeeded("isAssignmentEditable", $value); + return $this; + } + + /** + * @returns bool + */ + public function isComplete() + { + return ((bool) $this->isComplete); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return TaskType + */ + public function setIsComplete($value) + { + $this->isComplete = $this->castValueIfNeeded("isComplete", $value); + return $this; + } + + /** + * @returns bool + */ + public function isRecurring() + { + return ((bool) $this->isRecurring); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return TaskType + */ + public function setIsRecurring($value) + { + $this->isRecurring = $this->castValueIfNeeded("isRecurring", $value); + return $this; + } + + /** + * @returns bool + */ + public function isTeamTask() + { + return ((bool) $this->isTeamTask); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return TaskType + */ + public function setIsTeamTask($value) + { + $this->isTeamTask = $this->castValueIfNeeded("isTeamTask", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setMileage($value) + { + $this->mileage = $this->castValueIfNeeded("mileage", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setOwner($value) + { + $this->owner = $this->castValueIfNeeded("owner", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value float + * @return TaskType + */ + public function setPercentComplete($value) + { + $this->percentComplete = $this->castValueIfNeeded("percentComplete", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TaskRecurrenceType + * @return TaskType + */ + public function setRecurrence(TaskRecurrenceType $value) + { + $this->recurrence = $this->castValueIfNeeded("recurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TaskType + */ + public function setStartDate(\DateTime|string $value) + { + $this->startDate = $this->castValueIfNeeded("startDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setStatus($value) + { + $this->status = $this->castValueIfNeeded("status", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TaskType + */ + public function setStatusDescription($value) + { + $this->statusDescription = $this->castValueIfNeeded("statusDescription", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return TaskType + */ + public function setTotalWork($value) + { + $this->totalWork = $this->castValueIfNeeded("totalWork", $value); + return $this; + } } diff --git a/src/API/Type/TimeChangeType.php b/src/API/Type/TimeChangeType.php index 3036714a..3159a65b 100644 --- a/src/API/Type/TimeChangeType.php +++ b/src/API/Type/TimeChangeType.php @@ -9,12 +9,6 @@ * * * XSD Type: TimeChangeType - * - * @method TimeChangeType setTimeZoneName(string $timeZoneName) - * @method TimeChangeType setOffset(\DateInterval $offset) - * @method TimeChangeType setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $relativeYearlyRecurrence) - * @method TimeChangeType setAbsoluteDate(\DateTime $absoluteDate) - * @method TimeChangeType setTime(\DateTime $time) */ class TimeChangeType extends Type { @@ -88,4 +82,59 @@ public function getTime() { return $this->time; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TimeChangeType + */ + public function setTimeZoneName($value) + { + $this->timeZoneName = $this->castValueIfNeeded("timeZoneName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateInterval + * @return TimeChangeType + */ + public function setOffset(\DateInterval $value) + { + $this->offset = $this->castValueIfNeeded("offset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value RelativeYearlyRecurrencePatternType + * @return TimeChangeType + */ + public function setRelativeYearlyRecurrence(RelativeYearlyRecurrencePatternType $value) + { + $this->relativeYearlyRecurrence = $this->castValueIfNeeded("relativeYearlyRecurrence", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TimeChangeType + */ + public function setAbsoluteDate(\DateTime|string $value) + { + $this->absoluteDate = $this->castValueIfNeeded("absoluteDate", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateTime|string + * @return TimeChangeType + */ + public function setTime(\DateTime|string $value) + { + $this->time = $this->castValueIfNeeded("time", $value); + return $this; + } } diff --git a/src/API/Type/TimeZoneContextType.php b/src/API/Type/TimeZoneContextType.php index e79485de..61b987f4 100644 --- a/src/API/Type/TimeZoneContextType.php +++ b/src/API/Type/TimeZoneContextType.php @@ -9,8 +9,6 @@ * * * XSD Type: TimeZoneContextType - * - * @method TimeZoneContextType setTimeZoneDefinition(TimeZoneDefinitionType $timeZoneDefinition) */ class TimeZoneContextType extends Type { @@ -27,4 +25,15 @@ public function getTimeZoneDefinition() { return $this->timeZoneDefinition; } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeZoneDefinitionType + * @return TimeZoneContextType + */ + public function setTimeZoneDefinition(TimeZoneDefinitionType $value) + { + $this->timeZoneDefinition = $this->castValueIfNeeded("timeZoneDefinition", $value); + return $this; + } } diff --git a/src/API/Type/TimeZoneDefinitionType.php b/src/API/Type/TimeZoneDefinitionType.php index ed4cdb14..285d91ee 100644 --- a/src/API/Type/TimeZoneDefinitionType.php +++ b/src/API/Type/TimeZoneDefinitionType.php @@ -10,13 +10,8 @@ * * XSD Type: TimeZoneDefinitionType * - * @method TimeZoneDefinitionType setId(string $id) - * @method TimeZoneDefinitionType setName(string $name) * @method TimeZoneDefinitionType addPeriods(PeriodType $periods) - * @method TimeZoneDefinitionType setPeriods(array $periods) * @method TimeZoneDefinitionType addTransitionsGroups(ArrayOfTransitionsType $transitionsGroups) - * @method TimeZoneDefinitionType setTransitionsGroups(array $transitionsGroups) - * @method TimeZoneDefinitionType setTransitions(ArrayOfTransitionsType $transitions) */ class TimeZoneDefinitionType extends Type { @@ -85,4 +80,59 @@ public function getTransitions() { return $this->transitions; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TimeZoneDefinitionType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TimeZoneDefinitionType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value PeriodType[] + * @return TimeZoneDefinitionType + */ + public function setPeriods(array $value) + { + $this->periods = $this->castValueIfNeeded("periods", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfTransitionsType[] + * @return TimeZoneDefinitionType + */ + public function setTransitionsGroups(array $value) + { + $this->transitionsGroups = $this->castValueIfNeeded("transitionsGroups", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ArrayOfTransitionsType + * @return TimeZoneDefinitionType + */ + public function setTransitions(ArrayOfTransitionsType $value) + { + $this->transitions = $this->castValueIfNeeded("transitions", $value); + return $this; + } } diff --git a/src/API/Type/TimeZoneType.php b/src/API/Type/TimeZoneType.php index 16ec97f4..16a5dc28 100644 --- a/src/API/Type/TimeZoneType.php +++ b/src/API/Type/TimeZoneType.php @@ -9,11 +9,6 @@ * * * XSD Type: TimeZoneType - * - * @method TimeZoneType setTimeZoneName(string $timeZoneName) - * @method TimeZoneType setBaseOffset(\DateInterval $baseOffset) - * @method TimeZoneType setStandard(TimeChangeType $standard) - * @method TimeZoneType setDaylight(TimeChangeType $daylight) */ class TimeZoneType extends Type { @@ -69,4 +64,48 @@ public function getDaylight() { return $this->daylight; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TimeZoneType + */ + public function setTimeZoneName($value) + { + $this->timeZoneName = $this->castValueIfNeeded("timeZoneName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value \DateInterval + * @return TimeZoneType + */ + public function setBaseOffset(\DateInterval $value) + { + $this->baseOffset = $this->castValueIfNeeded("baseOffset", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeChangeType + * @return TimeZoneType + */ + public function setStandard(TimeChangeType $value) + { + $this->standard = $this->castValueIfNeeded("standard", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value TimeChangeType + * @return TimeZoneType + */ + public function setDaylight(TimeChangeType $value) + { + $this->daylight = $this->castValueIfNeeded("daylight", $value); + return $this; + } } diff --git a/src/API/Type/TrackingPropertyType.php b/src/API/Type/TrackingPropertyType.php index 5e8aebe7..1b6e8f81 100644 --- a/src/API/Type/TrackingPropertyType.php +++ b/src/API/Type/TrackingPropertyType.php @@ -9,9 +9,6 @@ * * * XSD Type: TrackingPropertyType - * - * @method TrackingPropertyType setName(string $name) - * @method TrackingPropertyType setValue(string $value) */ class TrackingPropertyType extends Type { @@ -41,4 +38,26 @@ public function getValue() { return $this->value; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TrackingPropertyType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TrackingPropertyType + */ + public function setValue($value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } } diff --git a/src/API/Type/TransitionTargetType.php b/src/API/Type/TransitionTargetType.php index d8543caa..c8291e0e 100644 --- a/src/API/Type/TransitionTargetType.php +++ b/src/API/Type/TransitionTargetType.php @@ -9,8 +9,6 @@ * * * XSD Type: TransitionTargetType - * - * @method TransitionTargetType setKind(string $kind) */ class TransitionTargetType extends Type { @@ -27,4 +25,15 @@ public function getKind() { return $this->kind; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return TransitionTargetType + */ + public function setKind($value) + { + $this->kind = $this->castValueIfNeeded("kind", $value); + return $this; + } } diff --git a/src/API/Type/TransitionType.php b/src/API/Type/TransitionType.php index 4ef92320..9388dc16 100644 --- a/src/API/Type/TransitionType.php +++ b/src/API/Type/TransitionType.php @@ -9,8 +9,6 @@ * * * XSD Type: TransitionType - * - * @method TransitionType setTo(TransitionTargetType $to) */ class TransitionType extends Type { @@ -27,4 +25,15 @@ public function getTo() { return $this->to; } + + /** + * @autogenerated This method is safe to replace + * @param $value TransitionTargetType + * @return TransitionType + */ + public function setTo(TransitionTargetType $value) + { + $this->to = $this->castValueIfNeeded("to", $value); + return $this; + } } diff --git a/src/API/Type/TwoOperandExpressionType.php b/src/API/Type/TwoOperandExpressionType.php index 887df1f2..ffb8c4e0 100644 --- a/src/API/Type/TwoOperandExpressionType.php +++ b/src/API/Type/TwoOperandExpressionType.php @@ -9,12 +9,8 @@ * XSD Type: TwoOperandExpressionType * * @method TwoOperandExpressionType addFieldURI(FieldURI $fieldURI) - * @method TwoOperandExpressionType setFieldURI(array $fieldURI) * @method TwoOperandExpressionType addIndexedFieldURI(IndexedFieldURI $indexedFieldURI) - * @method TwoOperandExpressionType setIndexedFieldURI(array $indexedFieldURI) * @method TwoOperandExpressionType addExtendedFieldURI(ExtendedFieldURI $extendedFieldURI) - * @method TwoOperandExpressionType setExtendedFieldURI(array $extendedFieldURI) - * @method TwoOperandExpressionType setFieldURIOrConstant(FieldURIOrConstantType $fieldURIOrConstant) */ class TwoOperandExpressionType extends SearchExpressionType { @@ -70,4 +66,48 @@ public function getFieldURIOrConstant() { return $this->fieldURIOrConstant; } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURI[] + * @return TwoOperandExpressionType + */ + public function setFieldURI(array $value) + { + $this->fieldURI = $this->castValueIfNeeded("fieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value IndexedFieldURI[] + * @return TwoOperandExpressionType + */ + public function setIndexedFieldURI(array $value) + { + $this->indexedFieldURI = $this->castValueIfNeeded("indexedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ExtendedFieldURI[] + * @return TwoOperandExpressionType + */ + public function setExtendedFieldURI(array $value) + { + $this->extendedFieldURI = $this->castValueIfNeeded("extendedFieldURI", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FieldURIOrConstantType + * @return TwoOperandExpressionType + */ + public function setFieldURIOrConstant(FieldURIOrConstantType $value) + { + $this->fieldURIOrConstant = $this->castValueIfNeeded("fieldURIOrConstant", $value); + return $this; + } } diff --git a/src/API/Type/UnifiedMessageServiceConfigurationType.php b/src/API/Type/UnifiedMessageServiceConfigurationType.php index 0796a761..8d442065 100644 --- a/src/API/Type/UnifiedMessageServiceConfigurationType.php +++ b/src/API/Type/UnifiedMessageServiceConfigurationType.php @@ -7,10 +7,6 @@ * * * XSD Type: UnifiedMessageServiceConfiguration - * - * @method UnifiedMessageServiceConfigurationType setUmEnabled(boolean $umEnabled) - * @method UnifiedMessageServiceConfigurationType setPlayOnPhoneDialString(string $playOnPhoneDialString) - * @method UnifiedMessageServiceConfigurationType setPlayOnPhoneEnabled(boolean $playOnPhoneEnabled) */ class UnifiedMessageServiceConfigurationType extends ServiceConfigurationType { @@ -30,6 +26,30 @@ class UnifiedMessageServiceConfigurationType extends ServiceConfigurationType */ protected $playOnPhoneEnabled = null; + /** + * @return boolean + */ + public function getUmEnabled() + { + return $this->umEnabled; + } + + /** + * @return string + */ + public function getPlayOnPhoneDialString() + { + return $this->playOnPhoneDialString; + } + + /** + * @return boolean + */ + public function getPlayOnPhoneEnabled() + { + return $this->playOnPhoneEnabled; + } + /** * @returns bool */ @@ -39,19 +59,25 @@ public function isUmEnabled() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return UnifiedMessageServiceConfigurationType */ - public function getUmEnabled() + public function setUmEnabled($value) { - return $this->umEnabled; + $this->umEnabled = $this->castValueIfNeeded("umEnabled", $value); + return $this; } /** - * @return string + * @autogenerated This method is safe to replace + * @param $value string + * @return UnifiedMessageServiceConfigurationType */ - public function getPlayOnPhoneDialString() + public function setPlayOnPhoneDialString($value) { - return $this->playOnPhoneDialString; + $this->playOnPhoneDialString = $this->castValueIfNeeded("playOnPhoneDialString", $value); + return $this; } /** @@ -63,10 +89,13 @@ public function isPlayOnPhoneEnabled() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return UnifiedMessageServiceConfigurationType */ - public function getPlayOnPhoneEnabled() + public function setPlayOnPhoneEnabled($value) { - return $this->playOnPhoneEnabled; + $this->playOnPhoneEnabled = $this->castValueIfNeeded("playOnPhoneEnabled", $value); + return $this; } } diff --git a/src/API/Type/UploadItemType.php b/src/API/Type/UploadItemType.php index 763aba32..06de2111 100644 --- a/src/API/Type/UploadItemType.php +++ b/src/API/Type/UploadItemType.php @@ -9,12 +9,6 @@ * * * XSD Type: UploadItemType - * - * @method UploadItemType setCreateAction(string $createAction) - * @method UploadItemType setIsAssociated(boolean $isAssociated) - * @method UploadItemType setParentFolderId(FolderIdType $parentFolderId) - * @method UploadItemType setItemId(ItemIdType $itemId) - * @method UploadItemType setData(string $data) */ class UploadItemType extends Type { @@ -52,14 +46,6 @@ public function getCreateAction() return $this->createAction; } - /** - * @returns bool - */ - public function isAssociated() - { - return ((bool) $this->isAssociated); - } - /** * @return boolean */ @@ -91,4 +77,67 @@ public function getData() { return $this->data; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UploadItemType + */ + public function setCreateAction($value) + { + $this->createAction = $this->castValueIfNeeded("createAction", $value); + return $this; + } + + /** + * @returns bool + */ + public function isAssociated() + { + return ((bool) $this->isAssociated); + } + + /** + * @autogenerated This method is safe to replace + * @param $value bool + * @return UploadItemType + */ + public function setIsAssociated($value) + { + $this->isAssociated = $this->castValueIfNeeded("isAssociated", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value FolderIdType + * @return UploadItemType + */ + public function setParentFolderId(FolderIdType $value) + { + $this->parentFolderId = $this->castValueIfNeeded("parentFolderId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return UploadItemType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UploadItemType + */ + public function setData($value) + { + $this->data = $this->castValueIfNeeded("data", $value); + return $this; + } } diff --git a/src/API/Type/UserConfigurationDictionaryEntryType.php b/src/API/Type/UserConfigurationDictionaryEntryType.php index 335979d1..9e16bb4b 100644 --- a/src/API/Type/UserConfigurationDictionaryEntryType.php +++ b/src/API/Type/UserConfigurationDictionaryEntryType.php @@ -9,9 +9,6 @@ * * * XSD Type: UserConfigurationDictionaryEntryType - * - * @method UserConfigurationDictionaryEntryType setDictionaryKey(UserConfigurationDictionaryObjectType $dictionaryKey) - * @method UserConfigurationDictionaryEntryType setDictionaryValue(UserConfigurationDictionaryObjectType $dictionaryValue) */ class UserConfigurationDictionaryEntryType extends Type { @@ -41,4 +38,26 @@ public function getDictionaryValue() { return $this->dictionaryValue; } + + /** + * @autogenerated This method is safe to replace + * @param $value UserConfigurationDictionaryObjectType + * @return UserConfigurationDictionaryEntryType + */ + public function setDictionaryKey(UserConfigurationDictionaryObjectType $value) + { + $this->dictionaryKey = $this->castValueIfNeeded("dictionaryKey", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UserConfigurationDictionaryObjectType + * @return UserConfigurationDictionaryEntryType + */ + public function setDictionaryValue(UserConfigurationDictionaryObjectType $value) + { + $this->dictionaryValue = $this->castValueIfNeeded("dictionaryValue", $value); + return $this; + } } diff --git a/src/API/Type/UserConfigurationDictionaryObjectType.php b/src/API/Type/UserConfigurationDictionaryObjectType.php index 30bfd418..2fe350eb 100644 --- a/src/API/Type/UserConfigurationDictionaryObjectType.php +++ b/src/API/Type/UserConfigurationDictionaryObjectType.php @@ -10,9 +10,7 @@ * * XSD Type: UserConfigurationDictionaryObjectType * - * @method UserConfigurationDictionaryObjectType setType(string $type) * @method UserConfigurationDictionaryObjectType addValue(string $value) - * @method UserConfigurationDictionaryObjectType setValue(array $value) */ class UserConfigurationDictionaryObjectType extends Type { @@ -42,4 +40,26 @@ public function getValue() { return $this->value; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserConfigurationDictionaryObjectType + */ + public function setType($value) + { + $this->type = $this->castValueIfNeeded("type", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return UserConfigurationDictionaryObjectType + */ + public function setValue(array $value) + { + $this->value = $this->castValueIfNeeded("value", $value); + return $this; + } } diff --git a/src/API/Type/UserConfigurationNameType.php b/src/API/Type/UserConfigurationNameType.php index 908fdaac..3d43fb3b 100644 --- a/src/API/Type/UserConfigurationNameType.php +++ b/src/API/Type/UserConfigurationNameType.php @@ -7,8 +7,6 @@ * * * XSD Type: UserConfigurationNameType - * - * @method UserConfigurationNameType setName(string $name) */ class UserConfigurationNameType extends TargetFolderIdType { @@ -25,4 +23,15 @@ public function getName() { return $this->name; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserConfigurationNameType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } } diff --git a/src/API/Type/UserConfigurationType.php b/src/API/Type/UserConfigurationType.php index 95cdbad3..3bd89ede 100644 --- a/src/API/Type/UserConfigurationType.php +++ b/src/API/Type/UserConfigurationType.php @@ -10,12 +10,7 @@ * * XSD Type: UserConfigurationType * - * @method UserConfigurationType setUserConfigurationName(UserConfigurationNameType $userConfigurationName) - * @method UserConfigurationType setItemId(ItemIdType $itemId) * @method UserConfigurationType addDictionary(UserConfigurationDictionaryEntryType $dictionary) - * @method UserConfigurationType setDictionary(array $dictionary) - * @method UserConfigurationType setXmlData(string $xmlData) - * @method UserConfigurationType setBinaryData(string $binaryData) */ class UserConfigurationType extends Type { @@ -84,4 +79,59 @@ public function getBinaryData() { return $this->binaryData; } + + /** + * @autogenerated This method is safe to replace + * @param $value UserConfigurationNameType + * @return UserConfigurationType + */ + public function setUserConfigurationName(UserConfigurationNameType $value) + { + $this->userConfigurationName = $this->castValueIfNeeded("userConfigurationName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ItemIdType + * @return UserConfigurationType + */ + public function setItemId(ItemIdType $value) + { + $this->itemId = $this->castValueIfNeeded("itemId", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value UserConfigurationDictionaryEntryType[] + * @return UserConfigurationType + */ + public function setDictionary(array $value) + { + $this->dictionary = $this->castValueIfNeeded("dictionary", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserConfigurationType + */ + public function setXmlData($value) + { + $this->xmlData = $this->castValueIfNeeded("xmlData", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserConfigurationType + */ + public function setBinaryData($value) + { + $this->binaryData = $this->castValueIfNeeded("binaryData", $value); + return $this; + } } diff --git a/src/API/Type/UserIdType.php b/src/API/Type/UserIdType.php index d3e05e2a..cc990691 100644 --- a/src/API/Type/UserIdType.php +++ b/src/API/Type/UserIdType.php @@ -9,12 +9,6 @@ * * * XSD Type: UserIdType - * - * @method UserIdType setSID(string $sID) - * @method UserIdType setPrimarySmtpAddress(string $primarySmtpAddress) - * @method UserIdType setDisplayName(string $displayName) - * @method UserIdType setDistinguishedUser(string $distinguishedUser) - * @method UserIdType setExternalUserIdentity(string $externalUserIdentity) */ class UserIdType extends Type { @@ -83,4 +77,59 @@ public function getExternalUserIdentity() { return $this->externalUserIdentity; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserIdType + */ + public function setSID($value) + { + $this->sID = $this->castValueIfNeeded("sID", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserIdType + */ + public function setPrimarySmtpAddress($value) + { + $this->primarySmtpAddress = $this->castValueIfNeeded("primarySmtpAddress", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserIdType + */ + public function setDisplayName($value) + { + $this->displayName = $this->castValueIfNeeded("displayName", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserIdType + */ + public function setDistinguishedUser($value) + { + $this->distinguishedUser = $this->castValueIfNeeded("distinguishedUser", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserIdType + */ + public function setExternalUserIdentity($value) + { + $this->externalUserIdentity = $this->castValueIfNeeded("externalUserIdentity", $value); + return $this; + } } diff --git a/src/API/Type/UserMailboxType.php b/src/API/Type/UserMailboxType.php index 5cd52f7f..6bbff9f9 100644 --- a/src/API/Type/UserMailboxType.php +++ b/src/API/Type/UserMailboxType.php @@ -9,9 +9,6 @@ * * User Mailbox. * XSD Type: UserMailboxType - * - * @method UserMailboxType setId(string $id) - * @method UserMailboxType setIsArchive(boolean $isArchive) */ class UserMailboxType extends Type { @@ -34,6 +31,25 @@ public function getId() return $this->id; } + /** + * @return boolean + */ + public function getIsArchive() + { + return $this->isArchive; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserMailboxType + */ + public function setId($value) + { + $this->id = $this->castValueIfNeeded("id", $value); + return $this; + } + /** * @returns bool */ @@ -43,10 +59,13 @@ public function isArchive() } /** - * @return boolean + * @autogenerated This method is safe to replace + * @param $value bool + * @return UserMailboxType */ - public function getIsArchive() + public function setIsArchive($value) { - return $this->isArchive; + $this->isArchive = $this->castValueIfNeeded("isArchive", $value); + return $this; } } diff --git a/src/API/Type/UserOofSettingsType.php b/src/API/Type/UserOofSettingsType.php index 2f1b821b..15109a11 100644 --- a/src/API/Type/UserOofSettingsType.php +++ b/src/API/Type/UserOofSettingsType.php @@ -9,12 +9,6 @@ * * * XSD Type: UserOofSettings - * - * @method UserOofSettingsType setOofState(string $oofState) - * @method UserOofSettingsType setExternalAudience(string $externalAudience) - * @method UserOofSettingsType setDuration(DurationType $duration) - * @method UserOofSettingsType setInternalReply(ReplyBodyType $internalReply) - * @method UserOofSettingsType setExternalReply(ReplyBodyType $externalReply) */ class UserOofSettingsType extends Type { @@ -83,4 +77,59 @@ public function getExternalReply() { return $this->externalReply; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserOofSettingsType + */ + public function setOofState($value) + { + $this->oofState = $this->castValueIfNeeded("oofState", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return UserOofSettingsType + */ + public function setExternalAudience($value) + { + $this->externalAudience = $this->castValueIfNeeded("externalAudience", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value DurationType + * @return UserOofSettingsType + */ + public function setDuration(DurationType $value) + { + $this->duration = $this->castValueIfNeeded("duration", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyBodyType + * @return UserOofSettingsType + */ + public function setInternalReply(ReplyBodyType $value) + { + $this->internalReply = $this->castValueIfNeeded("internalReply", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value ReplyBodyType + * @return UserOofSettingsType + */ + public function setExternalReply(ReplyBodyType $value) + { + $this->externalReply = $this->castValueIfNeeded("externalReply", $value); + return $this; + } } diff --git a/src/API/Type/ValueType.php b/src/API/Type/ValueType.php index 4db2fa75..496d7f98 100644 --- a/src/API/Type/ValueType.php +++ b/src/API/Type/ValueType.php @@ -9,8 +9,6 @@ * * * XSD Type: Value - * - * @method ValueType setName(string $name) */ class ValueType extends Type { @@ -27,4 +25,15 @@ public function getName() { return $this->name; } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return ValueType + */ + public function setName($value) + { + $this->name = $this->castValueIfNeeded("name", $value); + return $this; + } } diff --git a/src/API/Type/WeeklyRecurrencePatternType.php b/src/API/Type/WeeklyRecurrencePatternType.php index 1a6ab4dd..f8318b77 100644 --- a/src/API/Type/WeeklyRecurrencePatternType.php +++ b/src/API/Type/WeeklyRecurrencePatternType.php @@ -9,8 +9,6 @@ * XSD Type: WeeklyRecurrencePatternType * * @method WeeklyRecurrencePatternType addDaysOfWeek(string $daysOfWeek) - * @method WeeklyRecurrencePatternType setDaysOfWeek(array $daysOfWeek) - * @method WeeklyRecurrencePatternType setFirstDayOfWeek(string $firstDayOfWeek) */ class WeeklyRecurrencePatternType extends IntervalRecurrencePatternBaseType { @@ -40,4 +38,26 @@ public function getFirstDayOfWeek() { return $this->firstDayOfWeek; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return WeeklyRecurrencePatternType + */ + public function setDaysOfWeek(array $value) + { + $this->daysOfWeek = $this->castValueIfNeeded("daysOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value string + * @return WeeklyRecurrencePatternType + */ + public function setFirstDayOfWeek($value) + { + $this->firstDayOfWeek = $this->castValueIfNeeded("firstDayOfWeek", $value); + return $this; + } } diff --git a/src/API/Type/WorkingHoursType.php b/src/API/Type/WorkingHoursType.php index 8e69d403..ad097aad 100644 --- a/src/API/Type/WorkingHoursType.php +++ b/src/API/Type/WorkingHoursType.php @@ -10,9 +10,7 @@ * * XSD Type: WorkingHours * - * @method WorkingHoursType setTimeZone(SerializableTimeZoneType $timeZone) * @method WorkingHoursType addWorkingPeriodArray(WorkingPeriodType $workingPeriodArray) - * @method WorkingHoursType setWorkingPeriodArray(array $workingPeriodArray) */ class WorkingHoursType extends Type { @@ -42,4 +40,26 @@ public function getWorkingPeriodArray() { return $this->workingPeriodArray; } + + /** + * @autogenerated This method is safe to replace + * @param $value SerializableTimeZoneType + * @return WorkingHoursType + */ + public function setTimeZone(SerializableTimeZoneType $value) + { + $this->timeZone = $this->castValueIfNeeded("timeZone", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value WorkingPeriodType[] + * @return WorkingHoursType + */ + public function setWorkingPeriodArray(array $value) + { + $this->workingPeriodArray = $this->castValueIfNeeded("workingPeriodArray", $value); + return $this; + } } diff --git a/src/API/Type/WorkingPeriodType.php b/src/API/Type/WorkingPeriodType.php index f6aa684b..90412763 100644 --- a/src/API/Type/WorkingPeriodType.php +++ b/src/API/Type/WorkingPeriodType.php @@ -11,9 +11,6 @@ * XSD Type: WorkingPeriod * * @method WorkingPeriodType addDayOfWeek(string $dayOfWeek) - * @method WorkingPeriodType setDayOfWeek(array $dayOfWeek) - * @method WorkingPeriodType setStartTimeInMinutes(integer $startTimeInMinutes) - * @method WorkingPeriodType setEndTimeInMinutes(integer $endTimeInMinutes) */ class WorkingPeriodType extends Type { @@ -56,4 +53,37 @@ public function getEndTimeInMinutes() { return $this->endTimeInMinutes; } + + /** + * @autogenerated This method is safe to replace + * @param $value string[] + * @return WorkingPeriodType + */ + public function setDayOfWeek(array $value) + { + $this->dayOfWeek = $this->castValueIfNeeded("dayOfWeek", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return WorkingPeriodType + */ + public function setStartTimeInMinutes($value) + { + $this->startTimeInMinutes = $this->castValueIfNeeded("startTimeInMinutes", $value); + return $this; + } + + /** + * @autogenerated This method is safe to replace + * @param $value int + * @return WorkingPeriodType + */ + public function setEndTimeInMinutes($value) + { + $this->endTimeInMinutes = $this->castValueIfNeeded("endTimeInMinutes", $value); + return $this; + } } diff --git a/src/Generator/ClassGenerator.php b/src/Generator/ClassGenerator.php index c46be27b..c53ff1dc 100644 --- a/src/Generator/ClassGenerator.php +++ b/src/Generator/ClassGenerator.php @@ -267,24 +267,52 @@ protected function handleSetter(Generator\ClassGenerator $generator, PHPProperty $namespace = explode("\\", $type); $namespaceClass = array_pop($namespace); $namespace = implode("\\", $namespace); + + $originalType = ""; + if ($namespace == $class->getNamespace() || $namespace == "\\" . $class->getNamespace()) { $type = $namespaceClass; } - if (substr($type, -2) == "[]") { + if (substr($type, -2) === "[]") { + $originalType = $type; $type = "array"; } - $fullName = "method {$class->getName()} $name($type \${$prop->getName()})"; + if ($type === "boolean") { + $type = "bool"; + } - $docblock = $generator->getDocBlock(); - $docblock->setWordWrap(false); + if ($type === "integer") { + $type = "int"; + } - $tag = new Generator\DocBlock\Tag(); - $tag->setName($fullName); + if ($prop->getType()->type && $this->isTypeMapped($prop->getType()->type->getName())) { + $type .= "|string"; + } - $docblock->setTag($tag); + if ($generator->hasMethod($name)) { + if (!$this->isMethodAutoGenerated($generator->getMethod($name))) { + return; + } - return; + $generator->removeMethod($name); + } + + $docblockType = $originalType === "" ? $type : $originalType; + + $newMethod = (new Generator\MethodGenerator($name)) + ->setParameters([['name' => 'value', 'type' => $type]]) + ->setBody("\$this->{$prop->getName()} = \$this->castValueIfNeeded(\"{$prop->getName()}\", \$value);\nreturn \$this;") + ->setDocBlock( + (new DocBlockGenerator()) + ->setTags([ + new Generator\DocBlock\Tag\GenericTag("@autogenerated", "This method is safe to replace"), + new Generator\DocBlock\Tag\GenericTag("@param", "\$value $docblockType"), + new Generator\DocBlock\Tag\GenericTag("@return", $class->getName()) + ]) + ); + + $generator->addMethodFromGenerator($newMethod); } protected function handleEnumeration(Generator\ClassGenerator $class, PHPClass $type) @@ -370,6 +398,14 @@ protected function isTypeMapped($class) return in_array($class, $classMap); } + protected function isMethodAutoGenerated(Generator\MethodGenerator $method): bool + { + $tags = $method->getDocBlock()?->getTags() ?? []; + return count(array_filter($tags, static function ($tag) { + return $tag->getName() === "autogenerated"; + })) !== 0; + } + protected function getPropertyType($property) { $type = $property->getType();