├── .gitignore ├── .travis.yml ├── LICENSE.txt ├── MSGraphSDK.podspec ├── MSGraphSDK ├── Common │ ├── MSAuthenticationProvider.h │ ├── MSGraphSDKVersion.h │ ├── MSGraphSDKVersion.m │ ├── MSHttpProvider.h │ └── MSLoggerProtocol.h ├── Extensions │ ├── MSGraphClient+DefaultConfiguration.h │ ├── MSGraphClient+DefaultConfiguration.m │ ├── MSGraphClientConfiguration+DefaultConfiguration.h │ ├── MSGraphClientConfiguration+DefaultConfiguration.m │ ├── NSError+MSGraphSDK.h │ └── NSError+MSGraphSDK.m ├── MSGraphCoreSDK │ ├── Core │ │ ├── MSCollection.h │ │ ├── MSCollection.m │ │ ├── MSCollectionRequest.h │ │ ├── MSCollectionRequest.m │ │ ├── MSCollectionRequestBuilder.h │ │ ├── MSCollectionRequestBuilder.m │ │ ├── MSConstants.h │ │ ├── MSConstants.m │ │ ├── MSDate.h │ │ ├── MSDate.m │ │ ├── MSGraphClientConfiguration.h │ │ ├── MSGraphClientConfiguration.m │ │ ├── MSObject.h │ │ ├── MSObject.m │ │ ├── MSRequest.h │ │ ├── MSRequest.m │ │ ├── MSRequestBuilder.h │ │ ├── MSRequestBuilder.m │ │ ├── MSTimeOfDay.h │ │ ├── MSTimeOfDay.m │ │ ├── MSURLSession │ │ │ ├── MSAsyncURLSessionDataTask.h │ │ │ ├── MSAsyncURLSessionDataTask.m │ │ │ ├── MSURLSessionDataTask.h │ │ │ ├── MSURLSessionDataTask.m │ │ │ ├── MSURLSessionDownloadTask.h │ │ │ ├── MSURLSessionDownloadTask.m │ │ │ ├── MSURLSessionProgressTask.h │ │ │ ├── MSURLSessionProgressTask.m │ │ │ ├── MSURLSessionTask+Protected.h │ │ │ ├── MSURLSessionTask.h │ │ │ ├── MSURLSessionTask.m │ │ │ ├── MSURLSessionUploadTask.h │ │ │ └── MSURLSessionUploadTask.m │ │ ├── ODataBaseClient.h │ │ ├── ODataBaseClient.m │ │ └── Options │ │ │ ├── MSExpandOptions.h │ │ │ ├── MSExpandOptions.m │ │ │ ├── MSFunctionParameters.h │ │ │ ├── MSFunctionParameters.m │ │ │ ├── MSHeaderOptions.h │ │ │ ├── MSHeaderOptions.m │ │ │ ├── MSIfMatch.h │ │ │ ├── MSIfMatch.m │ │ │ ├── MSIfNoneMatch.h │ │ │ ├── MSIfNoneMatch.m │ │ │ ├── MSNameConflict.h │ │ │ ├── MSNameConflict.m │ │ │ ├── MSOrderByOptions.h │ │ │ ├── MSOrderByOptions.m │ │ │ ├── MSQueryParameters.h │ │ │ ├── MSQueryParameters.m │ │ │ ├── MSRequestOptions.h │ │ │ ├── MSRequestOptions.m │ │ │ ├── MSRequestOptionsBuilder.h │ │ │ ├── MSRequestOptionsBuilder.m │ │ │ ├── MSSelectOptions.h │ │ │ ├── MSSelectOptions.m │ │ │ ├── MSTopOptions.h │ │ │ └── MSTopOptions.m │ ├── Errors │ │ ├── MSError.h │ │ ├── MSError.m │ │ ├── MSErrorCodes.h │ │ └── MSErrorCodes.m │ ├── Extensions │ │ ├── MSGraphClient+Base.h │ │ ├── MSGraphClient+Base.m │ │ ├── MSGraphDriveItemRequestBuilder+ItemByPath.h │ │ ├── MSGraphDriveItemRequestBuilder+ItemByPath.m │ │ ├── MSGraphDriveSpecialCollectionRequestBuilder+KnownFolders.h │ │ ├── MSGraphDriveSpecialCollectionRequestBuilder+KnownFolders.m │ │ ├── MSGraphThumbnailSet+CustomThumbnail.h │ │ ├── MSGraphThumbnailSet+CustomThumbnail.m │ │ ├── MSGraphUserMailFoldersCollectionRequestBuilder+KnownFolders.h │ │ ├── MSGraphUserMailFoldersCollectionRequestBuilder+KnownFolders.m │ │ ├── NSArray+MSSerialization.h │ │ ├── NSArray+MSSerialization.m │ │ ├── NSDate+MSSerialization.h │ │ ├── NSDate+MSSerialization.m │ │ ├── NSJSONSerialization+ResponseHelper.h │ │ └── NSJSONSerialization+ResponseHelper.m │ ├── MSGraphCoreSDK.h │ ├── model │ │ ├── MSGraphAlternativeSecurityId.h │ │ ├── MSGraphAlternativeSecurityId.m │ │ ├── MSGraphAssignedLicense.h │ │ ├── MSGraphAssignedLicense.m │ │ ├── MSGraphAssignedPlan.h │ │ ├── MSGraphAssignedPlan.m │ │ ├── MSGraphAttachment.h │ │ ├── MSGraphAttachment.m │ │ ├── MSGraphAttendee.h │ │ ├── MSGraphAttendee.m │ │ ├── MSGraphAttendeeType.h │ │ ├── MSGraphAttendeeType.m │ │ ├── MSGraphAudio.h │ │ ├── MSGraphAudio.m │ │ ├── MSGraphBodyType.h │ │ ├── MSGraphBodyType.m │ │ ├── MSGraphCalendar.h │ │ ├── MSGraphCalendar.m │ │ ├── MSGraphCalendarColor.h │ │ ├── MSGraphCalendarColor.m │ │ ├── MSGraphCalendarGroup.h │ │ ├── MSGraphCalendarGroup.m │ │ ├── MSGraphContact.h │ │ ├── MSGraphContact.m │ │ ├── MSGraphContactFolder.h │ │ ├── MSGraphContactFolder.m │ │ ├── MSGraphConversation.h │ │ ├── MSGraphConversation.m │ │ ├── MSGraphConversationThread.h │ │ ├── MSGraphConversationThread.m │ │ ├── MSGraphDateTimeTimeZone.h │ │ ├── MSGraphDateTimeTimeZone.m │ │ ├── MSGraphDayOfWeek.h │ │ ├── MSGraphDayOfWeek.m │ │ ├── MSGraphDeleted.h │ │ ├── MSGraphDeleted.m │ │ ├── MSGraphDevice.h │ │ ├── MSGraphDevice.m │ │ ├── MSGraphDirectoryObject.h │ │ ├── MSGraphDirectoryObject.m │ │ ├── MSGraphDirectoryRole.h │ │ ├── MSGraphDirectoryRole.m │ │ ├── MSGraphDirectoryRoleTemplate.h │ │ ├── MSGraphDirectoryRoleTemplate.m │ │ ├── MSGraphDrive.h │ │ ├── MSGraphDrive.m │ │ ├── MSGraphDriveItem.h │ │ ├── MSGraphDriveItem.m │ │ ├── MSGraphDriveRecipient.h │ │ ├── MSGraphDriveRecipient.m │ │ ├── MSGraphEmailAddress.h │ │ ├── MSGraphEmailAddress.m │ │ ├── MSGraphEntity.h │ │ ├── MSGraphEntity.m │ │ ├── MSGraphEvent.h │ │ ├── MSGraphEvent.m │ │ ├── MSGraphEventMessage.h │ │ ├── MSGraphEventMessage.m │ │ ├── MSGraphEventType.h │ │ ├── MSGraphEventType.m │ │ ├── MSGraphFile.h │ │ ├── MSGraphFile.m │ │ ├── MSGraphFileAttachment.h │ │ ├── MSGraphFileAttachment.m │ │ ├── MSGraphFileSystemInfo.h │ │ ├── MSGraphFileSystemInfo.m │ │ ├── MSGraphFolder.h │ │ ├── MSGraphFolder.m │ │ ├── MSGraphFreeBusyStatus.h │ │ ├── MSGraphFreeBusyStatus.m │ │ ├── MSGraphGeoCoordinates.h │ │ ├── MSGraphGeoCoordinates.m │ │ ├── MSGraphGroup.h │ │ ├── MSGraphGroup.m │ │ ├── MSGraphHashes.h │ │ ├── MSGraphHashes.m │ │ ├── MSGraphIdentity.h │ │ ├── MSGraphIdentity.m │ │ ├── MSGraphIdentitySet.h │ │ ├── MSGraphIdentitySet.m │ │ ├── MSGraphImage.h │ │ ├── MSGraphImage.m │ │ ├── MSGraphImportance.h │ │ ├── MSGraphImportance.m │ │ ├── MSGraphItemAttachment.h │ │ ├── MSGraphItemAttachment.m │ │ ├── MSGraphItemBody.h │ │ ├── MSGraphItemBody.m │ │ ├── MSGraphItemReference.h │ │ ├── MSGraphItemReference.m │ │ ├── MSGraphLicenseUnitsDetail.h │ │ ├── MSGraphLicenseUnitsDetail.m │ │ ├── MSGraphLocation.h │ │ ├── MSGraphLocation.m │ │ ├── MSGraphMailFolder.h │ │ ├── MSGraphMailFolder.m │ │ ├── MSGraphMeetingMessageType.h │ │ ├── MSGraphMeetingMessageType.m │ │ ├── MSGraphMessage.h │ │ ├── MSGraphMessage.m │ │ ├── MSGraphModels.h │ │ ├── MSGraphOrganization.h │ │ ├── MSGraphOrganization.m │ │ ├── MSGraphOutlookItem.h │ │ ├── MSGraphOutlookItem.m │ │ ├── MSGraphPackage.h │ │ ├── MSGraphPackage.m │ │ ├── MSGraphPasswordProfile.h │ │ ├── MSGraphPasswordProfile.m │ │ ├── MSGraphPatternedRecurrence.h │ │ ├── MSGraphPatternedRecurrence.m │ │ ├── MSGraphPermission.h │ │ ├── MSGraphPermission.m │ │ ├── MSGraphPhoto.h │ │ ├── MSGraphPhoto.m │ │ ├── MSGraphPhysicalAddress.h │ │ ├── MSGraphPhysicalAddress.m │ │ ├── MSGraphPost.h │ │ ├── MSGraphPost.m │ │ ├── MSGraphProfilePhoto.h │ │ ├── MSGraphProfilePhoto.m │ │ ├── MSGraphProvisionedPlan.h │ │ ├── MSGraphProvisionedPlan.m │ │ ├── MSGraphQuota.h │ │ ├── MSGraphQuota.m │ │ ├── MSGraphRecipient.h │ │ ├── MSGraphRecipient.m │ │ ├── MSGraphRecurrencePattern.h │ │ ├── MSGraphRecurrencePattern.m │ │ ├── MSGraphRecurrencePatternType.h │ │ ├── MSGraphRecurrencePatternType.m │ │ ├── MSGraphRecurrenceRange.h │ │ ├── MSGraphRecurrenceRange.m │ │ ├── MSGraphRecurrenceRangeType.h │ │ ├── MSGraphRecurrenceRangeType.m │ │ ├── MSGraphReferenceAttachment.h │ │ ├── MSGraphReferenceAttachment.m │ │ ├── MSGraphReminder.h │ │ ├── MSGraphReminder.m │ │ ├── MSGraphRemoteItem.h │ │ ├── MSGraphRemoteItem.m │ │ ├── MSGraphResponseStatus.h │ │ ├── MSGraphResponseStatus.m │ │ ├── MSGraphResponseType.h │ │ ├── MSGraphResponseType.m │ │ ├── MSGraphSearchResult.h │ │ ├── MSGraphSearchResult.m │ │ ├── MSGraphSensitivity.h │ │ ├── MSGraphSensitivity.m │ │ ├── MSGraphServicePlanInfo.h │ │ ├── MSGraphServicePlanInfo.m │ │ ├── MSGraphShared.h │ │ ├── MSGraphShared.m │ │ ├── MSGraphSharingInvitation.h │ │ ├── MSGraphSharingInvitation.m │ │ ├── MSGraphSharingLink.h │ │ ├── MSGraphSharingLink.m │ │ ├── MSGraphSpecialFolder.h │ │ ├── MSGraphSpecialFolder.m │ │ ├── MSGraphSubscribedSku.h │ │ ├── MSGraphSubscribedSku.m │ │ ├── MSGraphThumbnail.h │ │ ├── MSGraphThumbnail.m │ │ ├── MSGraphThumbnailSet.h │ │ ├── MSGraphThumbnailSet.m │ │ ├── MSGraphUploadSession.h │ │ ├── MSGraphUploadSession.m │ │ ├── MSGraphUser.h │ │ ├── MSGraphUser.m │ │ ├── MSGraphVerifiedDomain.h │ │ ├── MSGraphVerifiedDomain.m │ │ ├── MSGraphVideo.h │ │ ├── MSGraphVideo.m │ │ ├── MSGraphWeekIndex.h │ │ └── MSGraphWeekIndex.m │ └── requests │ │ ├── MSGraphAttachmentRequest.h │ │ ├── MSGraphAttachmentRequest.m │ │ ├── MSGraphAttachmentRequestBuilder.h │ │ ├── MSGraphAttachmentRequestBuilder.m │ │ ├── MSGraphCalendarCalendarViewCollectionRequest.h │ │ ├── MSGraphCalendarCalendarViewCollectionRequest.m │ │ ├── MSGraphCalendarCalendarViewCollectionRequestBuilder.h │ │ ├── MSGraphCalendarCalendarViewCollectionRequestBuilder.m │ │ ├── MSGraphCalendarEventsCollectionRequest.h │ │ ├── MSGraphCalendarEventsCollectionRequest.m │ │ ├── MSGraphCalendarEventsCollectionRequestBuilder.h │ │ ├── MSGraphCalendarEventsCollectionRequestBuilder.m │ │ ├── MSGraphCalendarGroupCalendarsCollectionRequest.h │ │ ├── MSGraphCalendarGroupCalendarsCollectionRequest.m │ │ ├── MSGraphCalendarGroupCalendarsCollectionRequestBuilder.h │ │ ├── MSGraphCalendarGroupCalendarsCollectionRequestBuilder.m │ │ ├── MSGraphCalendarGroupRequest.h │ │ ├── MSGraphCalendarGroupRequest.m │ │ ├── MSGraphCalendarGroupRequestBuilder.h │ │ ├── MSGraphCalendarGroupRequestBuilder.m │ │ ├── MSGraphCalendarRequest.h │ │ ├── MSGraphCalendarRequest.m │ │ ├── MSGraphCalendarRequestBuilder.h │ │ ├── MSGraphCalendarRequestBuilder.m │ │ ├── MSGraphClient.h │ │ ├── MSGraphClient.m │ │ ├── MSGraphContactFolderChildFoldersCollectionRequest.h │ │ ├── MSGraphContactFolderChildFoldersCollectionRequest.m │ │ ├── MSGraphContactFolderChildFoldersCollectionRequestBuilder.h │ │ ├── MSGraphContactFolderChildFoldersCollectionRequestBuilder.m │ │ ├── MSGraphContactFolderContactsCollectionRequest.h │ │ ├── MSGraphContactFolderContactsCollectionRequest.m │ │ ├── MSGraphContactFolderContactsCollectionRequestBuilder.h │ │ ├── MSGraphContactFolderContactsCollectionRequestBuilder.m │ │ ├── MSGraphContactFolderRequest.h │ │ ├── MSGraphContactFolderRequest.m │ │ ├── MSGraphContactFolderRequestBuilder.h │ │ ├── MSGraphContactFolderRequestBuilder.m │ │ ├── MSGraphContactRequest.h │ │ ├── MSGraphContactRequest.m │ │ ├── MSGraphContactRequestBuilder.h │ │ ├── MSGraphContactRequestBuilder.m │ │ ├── MSGraphConversationRequest.h │ │ ├── MSGraphConversationRequest.m │ │ ├── MSGraphConversationRequestBuilder.h │ │ ├── MSGraphConversationRequestBuilder.m │ │ ├── MSGraphConversationThreadPostsCollectionRequest.h │ │ ├── MSGraphConversationThreadPostsCollectionRequest.m │ │ ├── MSGraphConversationThreadPostsCollectionRequestBuilder.h │ │ ├── MSGraphConversationThreadPostsCollectionRequestBuilder.m │ │ ├── MSGraphConversationThreadReplyRequest.h │ │ ├── MSGraphConversationThreadReplyRequest.m │ │ ├── MSGraphConversationThreadReplyRequestBuilder.h │ │ ├── MSGraphConversationThreadReplyRequestBuilder.m │ │ ├── MSGraphConversationThreadRequest.h │ │ ├── MSGraphConversationThreadRequest.m │ │ ├── MSGraphConversationThreadRequestBuilder.h │ │ ├── MSGraphConversationThreadRequestBuilder.m │ │ ├── MSGraphConversationThreadsCollectionRequest.h │ │ ├── MSGraphConversationThreadsCollectionRequest.m │ │ ├── MSGraphConversationThreadsCollectionRequestBuilder.h │ │ ├── MSGraphConversationThreadsCollectionRequestBuilder.m │ │ ├── MSGraphDeviceRegisteredOwnersCollectionReferencesRequest.h │ │ ├── MSGraphDeviceRegisteredOwnersCollectionReferencesRequest.m │ │ ├── MSGraphDeviceRegisteredOwnersCollectionReferencesRequestBuilder.h │ │ ├── MSGraphDeviceRegisteredOwnersCollectionReferencesRequestBuilder.m │ │ ├── MSGraphDeviceRegisteredOwnersCollectionWithReferencesRequest.h │ │ ├── MSGraphDeviceRegisteredOwnersCollectionWithReferencesRequest.m │ │ ├── MSGraphDeviceRegisteredOwnersCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphDeviceRegisteredOwnersCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphDeviceRegisteredUsersCollectionReferencesRequest.h │ │ ├── MSGraphDeviceRegisteredUsersCollectionReferencesRequest.m │ │ ├── MSGraphDeviceRegisteredUsersCollectionReferencesRequestBuilder.h │ │ ├── MSGraphDeviceRegisteredUsersCollectionReferencesRequestBuilder.m │ │ ├── MSGraphDeviceRegisteredUsersCollectionWithReferencesRequest.h │ │ ├── MSGraphDeviceRegisteredUsersCollectionWithReferencesRequest.m │ │ ├── MSGraphDeviceRegisteredUsersCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphDeviceRegisteredUsersCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphDeviceRequest.h │ │ ├── MSGraphDeviceRequest.m │ │ ├── MSGraphDeviceRequestBuilder.h │ │ ├── MSGraphDeviceRequestBuilder.m │ │ ├── MSGraphDirectoryObjectCheckMemberGroupsRequest.h │ │ ├── MSGraphDirectoryObjectCheckMemberGroupsRequest.m │ │ ├── MSGraphDirectoryObjectCheckMemberGroupsRequestBuilder.h │ │ ├── MSGraphDirectoryObjectCheckMemberGroupsRequestBuilder.m │ │ ├── MSGraphDirectoryObjectGetMemberGroupsRequest.h │ │ ├── MSGraphDirectoryObjectGetMemberGroupsRequest.m │ │ ├── MSGraphDirectoryObjectGetMemberGroupsRequestBuilder.h │ │ ├── MSGraphDirectoryObjectGetMemberGroupsRequestBuilder.m │ │ ├── MSGraphDirectoryObjectGetMemberObjectsRequest.h │ │ ├── MSGraphDirectoryObjectGetMemberObjectsRequest.m │ │ ├── MSGraphDirectoryObjectGetMemberObjectsRequestBuilder.h │ │ ├── MSGraphDirectoryObjectGetMemberObjectsRequestBuilder.m │ │ ├── MSGraphDirectoryObjectReferenceRequest.h │ │ ├── MSGraphDirectoryObjectReferenceRequest.m │ │ ├── MSGraphDirectoryObjectReferenceRequestBuilder.h │ │ ├── MSGraphDirectoryObjectReferenceRequestBuilder.m │ │ ├── MSGraphDirectoryObjectRequest.h │ │ ├── MSGraphDirectoryObjectRequest.m │ │ ├── MSGraphDirectoryObjectRequestBuilder.h │ │ ├── MSGraphDirectoryObjectRequestBuilder.m │ │ ├── MSGraphDirectoryObjectWithReferenceRequest.h │ │ ├── MSGraphDirectoryObjectWithReferenceRequest.m │ │ ├── MSGraphDirectoryObjectWithReferenceRequestBuilder.h │ │ ├── MSGraphDirectoryObjectWithReferenceRequestBuilder.m │ │ ├── MSGraphDirectoryRoleMembersCollectionReferencesRequest.h │ │ ├── MSGraphDirectoryRoleMembersCollectionReferencesRequest.m │ │ ├── MSGraphDirectoryRoleMembersCollectionReferencesRequestBuilder.h │ │ ├── MSGraphDirectoryRoleMembersCollectionReferencesRequestBuilder.m │ │ ├── MSGraphDirectoryRoleMembersCollectionWithReferencesRequest.h │ │ ├── MSGraphDirectoryRoleMembersCollectionWithReferencesRequest.m │ │ ├── MSGraphDirectoryRoleMembersCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphDirectoryRoleMembersCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphDirectoryRoleRequest.h │ │ ├── MSGraphDirectoryRoleRequest.m │ │ ├── MSGraphDirectoryRoleRequestBuilder.h │ │ ├── MSGraphDirectoryRoleRequestBuilder.m │ │ ├── MSGraphDirectoryRoleTemplateRequest.h │ │ ├── MSGraphDirectoryRoleTemplateRequest.m │ │ ├── MSGraphDirectoryRoleTemplateRequestBuilder.h │ │ ├── MSGraphDirectoryRoleTemplateRequestBuilder.m │ │ ├── MSGraphDriveItemChildrenCollectionRequest.h │ │ ├── MSGraphDriveItemChildrenCollectionRequest.m │ │ ├── MSGraphDriveItemChildrenCollectionRequestBuilder.h │ │ ├── MSGraphDriveItemChildrenCollectionRequestBuilder.m │ │ ├── MSGraphDriveItemContentRequest.h │ │ ├── MSGraphDriveItemContentRequest.m │ │ ├── MSGraphDriveItemCopyRequest.h │ │ ├── MSGraphDriveItemCopyRequest.m │ │ ├── MSGraphDriveItemCopyRequestBuilder.h │ │ ├── MSGraphDriveItemCopyRequestBuilder.m │ │ ├── MSGraphDriveItemCreateLinkRequest.h │ │ ├── MSGraphDriveItemCreateLinkRequest.m │ │ ├── MSGraphDriveItemCreateLinkRequestBuilder.h │ │ ├── MSGraphDriveItemCreateLinkRequestBuilder.m │ │ ├── MSGraphDriveItemDeltaRequest.h │ │ ├── MSGraphDriveItemDeltaRequest.m │ │ ├── MSGraphDriveItemDeltaRequestBuilder.h │ │ ├── MSGraphDriveItemDeltaRequestBuilder.m │ │ ├── MSGraphDriveItemPermissionsCollectionRequest.h │ │ ├── MSGraphDriveItemPermissionsCollectionRequest.m │ │ ├── MSGraphDriveItemPermissionsCollectionRequestBuilder.h │ │ ├── MSGraphDriveItemPermissionsCollectionRequestBuilder.m │ │ ├── MSGraphDriveItemRequest.h │ │ ├── MSGraphDriveItemRequest.m │ │ ├── MSGraphDriveItemRequestBuilder.h │ │ ├── MSGraphDriveItemRequestBuilder.m │ │ ├── MSGraphDriveItemSearchRequest.h │ │ ├── MSGraphDriveItemSearchRequest.m │ │ ├── MSGraphDriveItemSearchRequestBuilder.h │ │ ├── MSGraphDriveItemSearchRequestBuilder.m │ │ ├── MSGraphDriveItemThumbnailsCollectionRequest.h │ │ ├── MSGraphDriveItemThumbnailsCollectionRequest.m │ │ ├── MSGraphDriveItemThumbnailsCollectionRequestBuilder.h │ │ ├── MSGraphDriveItemThumbnailsCollectionRequestBuilder.m │ │ ├── MSGraphDriveItemsCollectionRequest.h │ │ ├── MSGraphDriveItemsCollectionRequest.m │ │ ├── MSGraphDriveItemsCollectionRequestBuilder.h │ │ ├── MSGraphDriveItemsCollectionRequestBuilder.m │ │ ├── MSGraphDriveRecentRequest.h │ │ ├── MSGraphDriveRecentRequest.m │ │ ├── MSGraphDriveRecentRequestBuilder.h │ │ ├── MSGraphDriveRecentRequestBuilder.m │ │ ├── MSGraphDriveRequest.h │ │ ├── MSGraphDriveRequest.m │ │ ├── MSGraphDriveRequestBuilder.h │ │ ├── MSGraphDriveRequestBuilder.m │ │ ├── MSGraphDriveSharedWithMeRequest.h │ │ ├── MSGraphDriveSharedWithMeRequest.m │ │ ├── MSGraphDriveSharedWithMeRequestBuilder.h │ │ ├── MSGraphDriveSharedWithMeRequestBuilder.m │ │ ├── MSGraphDriveSpecialCollectionRequest.h │ │ ├── MSGraphDriveSpecialCollectionRequest.m │ │ ├── MSGraphDriveSpecialCollectionRequestBuilder.h │ │ ├── MSGraphDriveSpecialCollectionRequestBuilder.m │ │ ├── MSGraphEntityRequest.h │ │ ├── MSGraphEntityRequest.m │ │ ├── MSGraphEntityRequestBuilder.h │ │ ├── MSGraphEntityRequestBuilder.m │ │ ├── MSGraphEventAcceptRequest.h │ │ ├── MSGraphEventAcceptRequest.m │ │ ├── MSGraphEventAcceptRequestBuilder.h │ │ ├── MSGraphEventAcceptRequestBuilder.m │ │ ├── MSGraphEventAttachmentsCollectionRequest.h │ │ ├── MSGraphEventAttachmentsCollectionRequest.m │ │ ├── MSGraphEventAttachmentsCollectionRequestBuilder.h │ │ ├── MSGraphEventAttachmentsCollectionRequestBuilder.m │ │ ├── MSGraphEventDeclineRequest.h │ │ ├── MSGraphEventDeclineRequest.m │ │ ├── MSGraphEventDeclineRequestBuilder.h │ │ ├── MSGraphEventDeclineRequestBuilder.m │ │ ├── MSGraphEventDismissReminderRequest.h │ │ ├── MSGraphEventDismissReminderRequest.m │ │ ├── MSGraphEventDismissReminderRequestBuilder.h │ │ ├── MSGraphEventDismissReminderRequestBuilder.m │ │ ├── MSGraphEventInstancesCollectionRequest.h │ │ ├── MSGraphEventInstancesCollectionRequest.m │ │ ├── MSGraphEventInstancesCollectionRequestBuilder.h │ │ ├── MSGraphEventInstancesCollectionRequestBuilder.m │ │ ├── MSGraphEventMessageRequest.h │ │ ├── MSGraphEventMessageRequest.m │ │ ├── MSGraphEventMessageRequestBuilder.h │ │ ├── MSGraphEventMessageRequestBuilder.m │ │ ├── MSGraphEventRequest.h │ │ ├── MSGraphEventRequest.m │ │ ├── MSGraphEventRequestBuilder.h │ │ ├── MSGraphEventRequestBuilder.m │ │ ├── MSGraphEventSnoozeReminderRequest.h │ │ ├── MSGraphEventSnoozeReminderRequest.m │ │ ├── MSGraphEventSnoozeReminderRequestBuilder.h │ │ ├── MSGraphEventSnoozeReminderRequestBuilder.m │ │ ├── MSGraphEventTentativelyAcceptRequest.h │ │ ├── MSGraphEventTentativelyAcceptRequest.m │ │ ├── MSGraphEventTentativelyAcceptRequestBuilder.h │ │ ├── MSGraphEventTentativelyAcceptRequestBuilder.m │ │ ├── MSGraphFileAttachmentRequest.h │ │ ├── MSGraphFileAttachmentRequest.m │ │ ├── MSGraphFileAttachmentRequestBuilder.h │ │ ├── MSGraphFileAttachmentRequestBuilder.m │ │ ├── MSGraphGraphServiceDevicesCollectionRequest.h │ │ ├── MSGraphGraphServiceDevicesCollectionRequest.m │ │ ├── MSGraphGraphServiceDevicesCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceDevicesCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceDirectoryObjectsCollectionRequest.h │ │ ├── MSGraphGraphServiceDirectoryObjectsCollectionRequest.m │ │ ├── MSGraphGraphServiceDirectoryObjectsCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceDirectoryObjectsCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceDirectoryRoleTemplatesCollectionRequest.h │ │ ├── MSGraphGraphServiceDirectoryRoleTemplatesCollectionRequest.m │ │ ├── MSGraphGraphServiceDirectoryRoleTemplatesCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceDirectoryRoleTemplatesCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceDirectoryRolesCollectionRequest.h │ │ ├── MSGraphGraphServiceDirectoryRolesCollectionRequest.m │ │ ├── MSGraphGraphServiceDirectoryRolesCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceDirectoryRolesCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceDrivesCollectionRequest.h │ │ ├── MSGraphGraphServiceDrivesCollectionRequest.m │ │ ├── MSGraphGraphServiceDrivesCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceDrivesCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceGroupsCollectionRequest.h │ │ ├── MSGraphGraphServiceGroupsCollectionRequest.m │ │ ├── MSGraphGraphServiceGroupsCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceGroupsCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceOrganizationCollectionRequest.h │ │ ├── MSGraphGraphServiceOrganizationCollectionRequest.m │ │ ├── MSGraphGraphServiceOrganizationCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceOrganizationCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceSubscribedSkusCollectionRequest.h │ │ ├── MSGraphGraphServiceSubscribedSkusCollectionRequest.m │ │ ├── MSGraphGraphServiceSubscribedSkusCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceSubscribedSkusCollectionRequestBuilder.m │ │ ├── MSGraphGraphServiceUsersCollectionRequest.h │ │ ├── MSGraphGraphServiceUsersCollectionRequest.m │ │ ├── MSGraphGraphServiceUsersCollectionRequestBuilder.h │ │ ├── MSGraphGraphServiceUsersCollectionRequestBuilder.m │ │ ├── MSGraphGroupAcceptedSendersCollectionRequest.h │ │ ├── MSGraphGroupAcceptedSendersCollectionRequest.m │ │ ├── MSGraphGroupAcceptedSendersCollectionRequestBuilder.h │ │ ├── MSGraphGroupAcceptedSendersCollectionRequestBuilder.m │ │ ├── MSGraphGroupAddFavoriteRequest.h │ │ ├── MSGraphGroupAddFavoriteRequest.m │ │ ├── MSGraphGroupAddFavoriteRequestBuilder.h │ │ ├── MSGraphGroupAddFavoriteRequestBuilder.m │ │ ├── MSGraphGroupCalendarViewCollectionRequest.h │ │ ├── MSGraphGroupCalendarViewCollectionRequest.m │ │ ├── MSGraphGroupCalendarViewCollectionRequestBuilder.h │ │ ├── MSGraphGroupCalendarViewCollectionRequestBuilder.m │ │ ├── MSGraphGroupConversationsCollectionRequest.h │ │ ├── MSGraphGroupConversationsCollectionRequest.m │ │ ├── MSGraphGroupConversationsCollectionRequestBuilder.h │ │ ├── MSGraphGroupConversationsCollectionRequestBuilder.m │ │ ├── MSGraphGroupEventsCollectionRequest.h │ │ ├── MSGraphGroupEventsCollectionRequest.m │ │ ├── MSGraphGroupEventsCollectionRequestBuilder.h │ │ ├── MSGraphGroupEventsCollectionRequestBuilder.m │ │ ├── MSGraphGroupMemberOfCollectionReferencesRequest.h │ │ ├── MSGraphGroupMemberOfCollectionReferencesRequest.m │ │ ├── MSGraphGroupMemberOfCollectionReferencesRequestBuilder.h │ │ ├── MSGraphGroupMemberOfCollectionReferencesRequestBuilder.m │ │ ├── MSGraphGroupMemberOfCollectionWithReferencesRequest.h │ │ ├── MSGraphGroupMemberOfCollectionWithReferencesRequest.m │ │ ├── MSGraphGroupMemberOfCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphGroupMemberOfCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphGroupMembersCollectionReferencesRequest.h │ │ ├── MSGraphGroupMembersCollectionReferencesRequest.m │ │ ├── MSGraphGroupMembersCollectionReferencesRequestBuilder.h │ │ ├── MSGraphGroupMembersCollectionReferencesRequestBuilder.m │ │ ├── MSGraphGroupMembersCollectionWithReferencesRequest.h │ │ ├── MSGraphGroupMembersCollectionWithReferencesRequest.m │ │ ├── MSGraphGroupMembersCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphGroupMembersCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphGroupOwnersCollectionReferencesRequest.h │ │ ├── MSGraphGroupOwnersCollectionReferencesRequest.m │ │ ├── MSGraphGroupOwnersCollectionReferencesRequestBuilder.h │ │ ├── MSGraphGroupOwnersCollectionReferencesRequestBuilder.m │ │ ├── MSGraphGroupOwnersCollectionWithReferencesRequest.h │ │ ├── MSGraphGroupOwnersCollectionWithReferencesRequest.m │ │ ├── MSGraphGroupOwnersCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphGroupOwnersCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphGroupRejectedSendersCollectionRequest.h │ │ ├── MSGraphGroupRejectedSendersCollectionRequest.m │ │ ├── MSGraphGroupRejectedSendersCollectionRequestBuilder.h │ │ ├── MSGraphGroupRejectedSendersCollectionRequestBuilder.m │ │ ├── MSGraphGroupRemoveFavoriteRequest.h │ │ ├── MSGraphGroupRemoveFavoriteRequest.m │ │ ├── MSGraphGroupRemoveFavoriteRequestBuilder.h │ │ ├── MSGraphGroupRemoveFavoriteRequestBuilder.m │ │ ├── MSGraphGroupRequest.h │ │ ├── MSGraphGroupRequest.m │ │ ├── MSGraphGroupRequestBuilder.h │ │ ├── MSGraphGroupRequestBuilder.m │ │ ├── MSGraphGroupResetUnseenCountRequest.h │ │ ├── MSGraphGroupResetUnseenCountRequest.m │ │ ├── MSGraphGroupResetUnseenCountRequestBuilder.h │ │ ├── MSGraphGroupResetUnseenCountRequestBuilder.m │ │ ├── MSGraphGroupSubscribeByMailRequest.h │ │ ├── MSGraphGroupSubscribeByMailRequest.m │ │ ├── MSGraphGroupSubscribeByMailRequestBuilder.h │ │ ├── MSGraphGroupSubscribeByMailRequestBuilder.m │ │ ├── MSGraphGroupThreadsCollectionRequest.h │ │ ├── MSGraphGroupThreadsCollectionRequest.m │ │ ├── MSGraphGroupThreadsCollectionRequestBuilder.h │ │ ├── MSGraphGroupThreadsCollectionRequestBuilder.m │ │ ├── MSGraphGroupUnsubscribeByMailRequest.h │ │ ├── MSGraphGroupUnsubscribeByMailRequest.m │ │ ├── MSGraphGroupUnsubscribeByMailRequestBuilder.h │ │ ├── MSGraphGroupUnsubscribeByMailRequestBuilder.m │ │ ├── MSGraphItemAttachmentRequest.h │ │ ├── MSGraphItemAttachmentRequest.m │ │ ├── MSGraphItemAttachmentRequestBuilder.h │ │ ├── MSGraphItemAttachmentRequestBuilder.m │ │ ├── MSGraphMailFolderChildFoldersCollectionRequest.h │ │ ├── MSGraphMailFolderChildFoldersCollectionRequest.m │ │ ├── MSGraphMailFolderChildFoldersCollectionRequestBuilder.h │ │ ├── MSGraphMailFolderChildFoldersCollectionRequestBuilder.m │ │ ├── MSGraphMailFolderCopyRequest.h │ │ ├── MSGraphMailFolderCopyRequest.m │ │ ├── MSGraphMailFolderCopyRequestBuilder.h │ │ ├── MSGraphMailFolderCopyRequestBuilder.m │ │ ├── MSGraphMailFolderMessagesCollectionRequest.h │ │ ├── MSGraphMailFolderMessagesCollectionRequest.m │ │ ├── MSGraphMailFolderMessagesCollectionRequestBuilder.h │ │ ├── MSGraphMailFolderMessagesCollectionRequestBuilder.m │ │ ├── MSGraphMailFolderMoveRequest.h │ │ ├── MSGraphMailFolderMoveRequest.m │ │ ├── MSGraphMailFolderMoveRequestBuilder.h │ │ ├── MSGraphMailFolderMoveRequestBuilder.m │ │ ├── MSGraphMailFolderRequest.h │ │ ├── MSGraphMailFolderRequest.m │ │ ├── MSGraphMailFolderRequestBuilder.h │ │ ├── MSGraphMailFolderRequestBuilder.m │ │ ├── MSGraphMessageAttachmentsCollectionRequest.h │ │ ├── MSGraphMessageAttachmentsCollectionRequest.m │ │ ├── MSGraphMessageAttachmentsCollectionRequestBuilder.h │ │ ├── MSGraphMessageAttachmentsCollectionRequestBuilder.m │ │ ├── MSGraphMessageCopyRequest.h │ │ ├── MSGraphMessageCopyRequest.m │ │ ├── MSGraphMessageCopyRequestBuilder.h │ │ ├── MSGraphMessageCopyRequestBuilder.m │ │ ├── MSGraphMessageCreateForwardRequest.h │ │ ├── MSGraphMessageCreateForwardRequest.m │ │ ├── MSGraphMessageCreateForwardRequestBuilder.h │ │ ├── MSGraphMessageCreateForwardRequestBuilder.m │ │ ├── MSGraphMessageCreateReplyAllRequest.h │ │ ├── MSGraphMessageCreateReplyAllRequest.m │ │ ├── MSGraphMessageCreateReplyAllRequestBuilder.h │ │ ├── MSGraphMessageCreateReplyAllRequestBuilder.m │ │ ├── MSGraphMessageCreateReplyRequest.h │ │ ├── MSGraphMessageCreateReplyRequest.m │ │ ├── MSGraphMessageCreateReplyRequestBuilder.h │ │ ├── MSGraphMessageCreateReplyRequestBuilder.m │ │ ├── MSGraphMessageForwardRequest.h │ │ ├── MSGraphMessageForwardRequest.m │ │ ├── MSGraphMessageForwardRequestBuilder.h │ │ ├── MSGraphMessageForwardRequestBuilder.m │ │ ├── MSGraphMessageMoveRequest.h │ │ ├── MSGraphMessageMoveRequest.m │ │ ├── MSGraphMessageMoveRequestBuilder.h │ │ ├── MSGraphMessageMoveRequestBuilder.m │ │ ├── MSGraphMessageReplyAllRequest.h │ │ ├── MSGraphMessageReplyAllRequest.m │ │ ├── MSGraphMessageReplyAllRequestBuilder.h │ │ ├── MSGraphMessageReplyAllRequestBuilder.m │ │ ├── MSGraphMessageReplyRequest.h │ │ ├── MSGraphMessageReplyRequest.m │ │ ├── MSGraphMessageReplyRequestBuilder.h │ │ ├── MSGraphMessageReplyRequestBuilder.m │ │ ├── MSGraphMessageRequest.h │ │ ├── MSGraphMessageRequest.m │ │ ├── MSGraphMessageRequestBuilder.h │ │ ├── MSGraphMessageRequestBuilder.m │ │ ├── MSGraphMessageSendRequest.h │ │ ├── MSGraphMessageSendRequest.m │ │ ├── MSGraphMessageSendRequestBuilder.h │ │ ├── MSGraphMessageSendRequestBuilder.m │ │ ├── MSGraphODataEntities.h │ │ ├── MSGraphOrganizationRequest.h │ │ ├── MSGraphOrganizationRequest.m │ │ ├── MSGraphOrganizationRequestBuilder.h │ │ ├── MSGraphOrganizationRequestBuilder.m │ │ ├── MSGraphOutlookItemRequest.h │ │ ├── MSGraphOutlookItemRequest.m │ │ ├── MSGraphOutlookItemRequestBuilder.h │ │ ├── MSGraphOutlookItemRequestBuilder.m │ │ ├── MSGraphPermissionRequest.h │ │ ├── MSGraphPermissionRequest.m │ │ ├── MSGraphPermissionRequestBuilder.h │ │ ├── MSGraphPermissionRequestBuilder.m │ │ ├── MSGraphPostAttachmentsCollectionRequest.h │ │ ├── MSGraphPostAttachmentsCollectionRequest.m │ │ ├── MSGraphPostAttachmentsCollectionRequestBuilder.h │ │ ├── MSGraphPostAttachmentsCollectionRequestBuilder.m │ │ ├── MSGraphPostForwardRequest.h │ │ ├── MSGraphPostForwardRequest.m │ │ ├── MSGraphPostForwardRequestBuilder.h │ │ ├── MSGraphPostForwardRequestBuilder.m │ │ ├── MSGraphPostReplyRequest.h │ │ ├── MSGraphPostReplyRequest.m │ │ ├── MSGraphPostReplyRequestBuilder.h │ │ ├── MSGraphPostReplyRequestBuilder.m │ │ ├── MSGraphPostRequest.h │ │ ├── MSGraphPostRequest.m │ │ ├── MSGraphPostRequestBuilder.h │ │ ├── MSGraphPostRequestBuilder.m │ │ ├── MSGraphProfilePhotoRequest.h │ │ ├── MSGraphProfilePhotoRequest.m │ │ ├── MSGraphProfilePhotoRequestBuilder.h │ │ ├── MSGraphProfilePhotoRequestBuilder.m │ │ ├── MSGraphProfilePhotoStreamRequest.h │ │ ├── MSGraphProfilePhotoStreamRequest.m │ │ ├── MSGraphReferenceAttachmentRequest.h │ │ ├── MSGraphReferenceAttachmentRequest.m │ │ ├── MSGraphReferenceAttachmentRequestBuilder.h │ │ ├── MSGraphReferenceAttachmentRequestBuilder.m │ │ ├── MSGraphSubscribedSkuRequest.h │ │ ├── MSGraphSubscribedSkuRequest.m │ │ ├── MSGraphSubscribedSkuRequestBuilder.h │ │ ├── MSGraphSubscribedSkuRequestBuilder.m │ │ ├── MSGraphThumbnailContentRequest.h │ │ ├── MSGraphThumbnailContentRequest.m │ │ ├── MSGraphThumbnailRequest.h │ │ ├── MSGraphThumbnailRequest.m │ │ ├── MSGraphThumbnailRequestBuilder.h │ │ ├── MSGraphThumbnailRequestBuilder.m │ │ ├── MSGraphThumbnailSetRequest.h │ │ ├── MSGraphThumbnailSetRequest.m │ │ ├── MSGraphThumbnailSetRequestBuilder.h │ │ ├── MSGraphThumbnailSetRequestBuilder.m │ │ ├── MSGraphUserAssignLicenseRequest.h │ │ ├── MSGraphUserAssignLicenseRequest.m │ │ ├── MSGraphUserAssignLicenseRequestBuilder.h │ │ ├── MSGraphUserAssignLicenseRequestBuilder.m │ │ ├── MSGraphUserCalendarGroupsCollectionRequest.h │ │ ├── MSGraphUserCalendarGroupsCollectionRequest.m │ │ ├── MSGraphUserCalendarGroupsCollectionRequestBuilder.h │ │ ├── MSGraphUserCalendarGroupsCollectionRequestBuilder.m │ │ ├── MSGraphUserCalendarViewCollectionRequest.h │ │ ├── MSGraphUserCalendarViewCollectionRequest.m │ │ ├── MSGraphUserCalendarViewCollectionRequestBuilder.h │ │ ├── MSGraphUserCalendarViewCollectionRequestBuilder.m │ │ ├── MSGraphUserCalendarsCollectionRequest.h │ │ ├── MSGraphUserCalendarsCollectionRequest.m │ │ ├── MSGraphUserCalendarsCollectionRequestBuilder.h │ │ ├── MSGraphUserCalendarsCollectionRequestBuilder.m │ │ ├── MSGraphUserChangePasswordRequest.h │ │ ├── MSGraphUserChangePasswordRequest.m │ │ ├── MSGraphUserChangePasswordRequestBuilder.h │ │ ├── MSGraphUserChangePasswordRequestBuilder.m │ │ ├── MSGraphUserContactFoldersCollectionRequest.h │ │ ├── MSGraphUserContactFoldersCollectionRequest.m │ │ ├── MSGraphUserContactFoldersCollectionRequestBuilder.h │ │ ├── MSGraphUserContactFoldersCollectionRequestBuilder.m │ │ ├── MSGraphUserContactsCollectionRequest.h │ │ ├── MSGraphUserContactsCollectionRequest.m │ │ ├── MSGraphUserContactsCollectionRequestBuilder.h │ │ ├── MSGraphUserContactsCollectionRequestBuilder.m │ │ ├── MSGraphUserCreatedObjectsCollectionReferencesRequest.h │ │ ├── MSGraphUserCreatedObjectsCollectionReferencesRequest.m │ │ ├── MSGraphUserCreatedObjectsCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserCreatedObjectsCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserCreatedObjectsCollectionWithReferencesRequest.h │ │ ├── MSGraphUserCreatedObjectsCollectionWithReferencesRequest.m │ │ ├── MSGraphUserCreatedObjectsCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserCreatedObjectsCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserDirectReportsCollectionReferencesRequest.h │ │ ├── MSGraphUserDirectReportsCollectionReferencesRequest.m │ │ ├── MSGraphUserDirectReportsCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserDirectReportsCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserDirectReportsCollectionWithReferencesRequest.h │ │ ├── MSGraphUserDirectReportsCollectionWithReferencesRequest.m │ │ ├── MSGraphUserDirectReportsCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserDirectReportsCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserEventsCollectionRequest.h │ │ ├── MSGraphUserEventsCollectionRequest.m │ │ ├── MSGraphUserEventsCollectionRequestBuilder.h │ │ ├── MSGraphUserEventsCollectionRequestBuilder.m │ │ ├── MSGraphUserMailFoldersCollectionRequest.h │ │ ├── MSGraphUserMailFoldersCollectionRequest.m │ │ ├── MSGraphUserMailFoldersCollectionRequestBuilder.h │ │ ├── MSGraphUserMailFoldersCollectionRequestBuilder.m │ │ ├── MSGraphUserMemberOfCollectionReferencesRequest.h │ │ ├── MSGraphUserMemberOfCollectionReferencesRequest.m │ │ ├── MSGraphUserMemberOfCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserMemberOfCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserMemberOfCollectionWithReferencesRequest.h │ │ ├── MSGraphUserMemberOfCollectionWithReferencesRequest.m │ │ ├── MSGraphUserMemberOfCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserMemberOfCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserMessagesCollectionRequest.h │ │ ├── MSGraphUserMessagesCollectionRequest.m │ │ ├── MSGraphUserMessagesCollectionRequestBuilder.h │ │ ├── MSGraphUserMessagesCollectionRequestBuilder.m │ │ ├── MSGraphUserOwnedDevicesCollectionReferencesRequest.h │ │ ├── MSGraphUserOwnedDevicesCollectionReferencesRequest.m │ │ ├── MSGraphUserOwnedDevicesCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserOwnedDevicesCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserOwnedDevicesCollectionWithReferencesRequest.h │ │ ├── MSGraphUserOwnedDevicesCollectionWithReferencesRequest.m │ │ ├── MSGraphUserOwnedDevicesCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserOwnedDevicesCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserOwnedObjectsCollectionReferencesRequest.h │ │ ├── MSGraphUserOwnedObjectsCollectionReferencesRequest.m │ │ ├── MSGraphUserOwnedObjectsCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserOwnedObjectsCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserOwnedObjectsCollectionWithReferencesRequest.h │ │ ├── MSGraphUserOwnedObjectsCollectionWithReferencesRequest.m │ │ ├── MSGraphUserOwnedObjectsCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserOwnedObjectsCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserReferenceRequest.h │ │ ├── MSGraphUserReferenceRequest.m │ │ ├── MSGraphUserReferenceRequestBuilder.h │ │ ├── MSGraphUserReferenceRequestBuilder.m │ │ ├── MSGraphUserRegisteredDevicesCollectionReferencesRequest.h │ │ ├── MSGraphUserRegisteredDevicesCollectionReferencesRequest.m │ │ ├── MSGraphUserRegisteredDevicesCollectionReferencesRequestBuilder.h │ │ ├── MSGraphUserRegisteredDevicesCollectionReferencesRequestBuilder.m │ │ ├── MSGraphUserRegisteredDevicesCollectionWithReferencesRequest.h │ │ ├── MSGraphUserRegisteredDevicesCollectionWithReferencesRequest.m │ │ ├── MSGraphUserRegisteredDevicesCollectionWithReferencesRequestBuilder.h │ │ ├── MSGraphUserRegisteredDevicesCollectionWithReferencesRequestBuilder.m │ │ ├── MSGraphUserReminderViewRequest.h │ │ ├── MSGraphUserReminderViewRequest.m │ │ ├── MSGraphUserReminderViewRequestBuilder.h │ │ ├── MSGraphUserReminderViewRequestBuilder.m │ │ ├── MSGraphUserRequest.h │ │ ├── MSGraphUserRequest.m │ │ ├── MSGraphUserRequestBuilder.h │ │ ├── MSGraphUserRequestBuilder.m │ │ ├── MSGraphUserSendMailRequest.h │ │ ├── MSGraphUserSendMailRequest.m │ │ ├── MSGraphUserSendMailRequestBuilder.h │ │ ├── MSGraphUserSendMailRequestBuilder.m │ │ ├── MSGraphUserWithReferenceRequest.h │ │ ├── MSGraphUserWithReferenceRequest.m │ │ ├── MSGraphUserWithReferenceRequestBuilder.h │ │ └── MSGraphUserWithReferenceRequestBuilder.m ├── MSGraphSDK.h ├── MSGraphSDK.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── MSGraphSDK.xcscheme ├── MSGraphSDK │ ├── Info.plist │ ├── MSBlockAuthenticationProvider.h │ ├── MSBlockAuthenticationProvider.m │ ├── MSLogger.h │ ├── MSLogger.m │ └── MSURLSessionManager │ │ ├── MSNSURLSessionTaskDelegate.h │ │ ├── MSNSURLSessionTaskDelegate.m │ │ ├── MSURLSessionManager.h │ │ └── MSURLSessionManager.m ├── MSGraphSDKTests │ ├── Info.plist │ ├── MSBlockAuthenticationProviderTests.m │ ├── MSCollectionRequestTests.m │ ├── MSCollectionTests.m │ ├── MSDateTests.m │ ├── MSErrorTest.m │ ├── MSGraphCalendarColorTests.m │ ├── MSGraphClient+BaseTests.m │ ├── MSGraphClient+DefaultConfigurationTests.m │ ├── MSGraphClientConfiguration+DefaultConfigurationTests.m │ ├── MSGraphContactTests.m │ ├── MSGraphDriveItemRequestBuilder+ItemByPathTests.m │ ├── MSGraphDriveItemSearchRequestBuilderTests.m │ ├── MSGraphDriveItemSearchRequestTests.m │ ├── MSGraphDriveSpecialCollectionRequestBuilder+KnownFoldersTests.m │ ├── MSGraphEntityTests.m │ ├── MSGraphGroupMembersCollectionReferencesRequestBuilderTests.m │ ├── MSGraphGroupMembersCollectionReferencesRequestTests.m │ ├── MSGraphGroupMembersCollectionWithReferencesRequestBuilderTests.m │ ├── MSGraphGroupMembersCollectionWithReferencesRequestTests.m │ ├── MSGraphItemBodyTests.m │ ├── MSGraphProfilePhotoRequestBuilderTests.m │ ├── MSGraphProfilePhotoRequestTests.m │ ├── MSGraphProfilePhotoStreamRequestTests.m │ ├── MSGraphSDKVersionTests.m │ ├── MSGraphTestCase.h │ ├── MSGraphTestCase.m │ ├── MSGraphThumbnailSet+CustomThumbnailTests.m │ ├── MSGraphThumbnailSetTests.m │ ├── MSGraphUserMailFoldersCollectionRequestBuilder+KnownFoldersTests.m │ ├── MSGraphUserMessagesCollectionRequestBuilderTests.m │ ├── MSGraphUserMessagesCollectionRequestTests.m │ ├── MSGraphUserReferenceRequestBuilderTests.m │ ├── MSGraphUserReferenceRequestTest.m │ ├── MSGraphUserTests.m │ ├── MSGraphUserWithReferenceRequestBuilderTests.m │ ├── MSGraphUserWithReferenceRequestTests.m │ ├── MSLoggerTests.m │ ├── MSNameConflictTests.m │ ├── MSObjectTests.m │ ├── MSOptionsTests.m │ ├── MSQueryParametersTests.m │ ├── MSRequestBuilderTests.m │ ├── MSRequestOptionsBuilderTests.m │ ├── MSRequestOptionsTests.m │ ├── MSRequestTests.m │ ├── MSURLSessionDataTaskTests.m │ ├── MSURLSessionDownloadTaskTests.m │ ├── MSURLSessionManagerTests.m │ ├── MSURLSessionTaskTests.m │ ├── MSURLSessionUploadTaskTests.m │ ├── NSArray+MSSerializationTests.m │ ├── NSDate+MSSerializationTests.m │ ├── NSError+MSGraphSDKTests.m │ ├── NSJSONSerialization+ResponseHelperTests.m │ └── ODataBaseClientTests.m └── Podfile ├── README.md └── docs ├── auth.md ├── collections.md ├── contributions.md ├── enums.md ├── errors.md ├── items.md └── overview.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.xcsmblueprint 15 | *.moved-aside 16 | DerivedData 17 | *.hmap 18 | *.ipa 19 | *.xcuserstate 20 | 21 | # Swap files 22 | .*.sw* 23 | 24 | #OSX 25 | .DS_Store 26 | .AppleDouble 27 | .LSOverride 28 | 29 | # CocoaPods 30 | # 31 | # We recommend against adding the Pods directory to your .gitignore. However 32 | # you should judge for yourself, the pros and cons are mentioned at: 33 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 34 | # 35 | Pods/ 36 | Podfile.lock 37 | **/MSGraphSDK.xcworkspace/** -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: objective-c 2 | 3 | before_install: 4 | - brew update 5 | - brew upgrade xctool 6 | - cd OneDriveSDK && pod install 7 | 8 | script : 9 | - xctool test -workspace OneDriveSDK.xcworkspace -scheme OneDriveSDKTests -sdk iphonesimulator 10 | 11 | -------------------------------------------------------------------------------- /MSGraphSDK/Common/MSGraphSDKVersion.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | extern NSString *const MSGraphSdkVersion; 6 | -------------------------------------------------------------------------------- /MSGraphSDK/Common/MSGraphSDKVersion.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #define MS_GRAPH_SDK_VERSION @"0.10.1" 4 | 5 | #import "MSGraphSDKVersion.h" 6 | 7 | NSString *const MSGraphSdkVersion = MS_GRAPH_SDK_VERSION; 8 | -------------------------------------------------------------------------------- /MSGraphSDK/Extensions/NSError+MSGraphSDK.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "NSError+MSGraphSDK.h" 4 | #import "MSConstants.h" 5 | #import "MSError.h" 6 | 7 | @implementation NSError (MSGraphSDK) 8 | 9 | - (BOOL)isClientError 10 | { 11 | return [self.domain isEqualToString:MSErrorDomain]; 12 | } 13 | 14 | - (MSError *)clientError 15 | { 16 | if ([self isClientError]){ 17 | return self.userInfo[MSErrorKey]; 18 | } 19 | return nil; 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSRequestBuilder.h" 4 | 5 | @class MSCollection; 6 | 7 | typedef void (^MSCollectionCompletionHandler)(MSCollection *response, NSError *error); 8 | 9 | @interface MSCollectionRequestBuilder : MSRequestBuilder 10 | 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSCollectionRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSCollectionRequestBuilder.h" 4 | #import "MSCollection.h" 5 | 6 | @implementation MSCollectionRequestBuilder 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSDate.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | @interface MSDate : NSObject 6 | 7 | + (instancetype) date; 8 | + (instancetype) dateWithYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day; 9 | 10 | - (id) initWithYear:(NSInteger)year month:(NSInteger)month day:(NSInteger)day; 11 | - (id) initWithNSDate:(NSDate*)date; 12 | 13 | @property (nonatomic, readonly) NSInteger year; 14 | @property (nonatomic, readonly) NSInteger month; 15 | @property (nonatomic, readonly) NSInteger day; 16 | 17 | - (NSString *)ms_toString; 18 | + (instancetype)ms_dateFromString:(NSString *)dateString; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSGraphClientConfiguration.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSGraphClientConfiguration.h" 4 | 5 | @implementation MSGraphClientConfiguration 6 | 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSRequestBuilder.h" 4 | 5 | @implementation MSRequestBuilder 6 | 7 | - (instancetype)initWithURL:(NSURL *)url client:(ODataBaseClient *)client; 8 | { 9 | NSParameterAssert(url); 10 | NSParameterAssert(client); 11 | 12 | self = [super init]; 13 | if (self){ 14 | _requestURL = url; 15 | _client = client; 16 | } 17 | return self; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSTimeOfDay.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | @interface MSTimeOfDay : NSObject 6 | 7 | + (instancetype) timeWithSeconds:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second; 8 | 9 | - (id) initWithSeconds:(NSInteger)hour minute:(NSInteger)minute second:(NSInteger)second; 10 | 11 | @property (nonatomic, readonly) NSInteger hour; 12 | @property (nonatomic, readonly) NSInteger minute; 13 | @property (nonatomic, readonly) NSInteger second; 14 | 15 | - (NSString *)ms_toString; 16 | + (instancetype)ms_timeFromString:(NSString *)timeString; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSURLSession/MSURLSessionProgressTask.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSURLSessionTask.h" 4 | 5 | /** 6 | An `MSURLSessionTask` that contains a NSProgress object. When you create the task, the progress property will be updated as the task completes. 7 | */ 8 | @interface MSURLSessionProgressTask : MSURLSessionTask 9 | 10 | 11 | /** 12 | The NSProgress to monitor. 13 | */ 14 | @property (strong, readonly) NSProgress *progress; 15 | 16 | - (NSProgress *)createProgress; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSURLSession/MSURLSessionProgressTask.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSURLSessionProgressTask.h" 4 | 5 | @implementation MSURLSessionProgressTask 6 | 7 | - (NSProgress *)createProgress 8 | { 9 | NSProgress *progress = [NSProgress progressWithTotalUnitCount:0]; 10 | _progress = progress; 11 | return progress; 12 | } 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/MSURLSession/MSURLSessionTask+Protected.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #ifndef MSURLSessionTask_Protected_h 4 | #define MSURLSessionTask_Protected_h 5 | #import "MSURLSessionTask.h" 6 | 7 | @interface MSURLSessionTask(){ 8 | @protected 9 | MSURLSessionTaskState _state; 10 | } 11 | 12 | @end 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/ODataBaseClient.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSHttpProvider.h" 4 | #import "MSAuthenticationProvider.h" 5 | #import "MSLoggerProtocol.h" 6 | 7 | @interface ODataBaseClient : NSObject 8 | 9 | 10 | @property NSURL *baseURL; 11 | 12 | @property (strong) id httpProvider; 13 | 14 | @property (strong) id logger; 15 | 16 | @property (strong) id authenticationProvider; 17 | 18 | -(instancetype)initWithURL:(NSString *)url httpProvider:(id)httpProvider authenticationProvider:(id)authenticationProvider; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/ODataBaseClient.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "ODataBaseClient.h" 4 | 5 | @implementation ODataBaseClient 6 | 7 | -(instancetype)initWithURL:(NSString *)url httpProvider:(id)httpProvider authenticationProvider:(id)authenticationProvider 8 | { 9 | self = [super init]; 10 | if (self){ 11 | _baseURL = [NSURL URLWithString:url]; 12 | _httpProvider = httpProvider; 13 | _authenticationProvider = authenticationProvider; 14 | } 15 | return self; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSExpandOptions.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSQueryParameters.h" 4 | 5 | @interface MSExpandOptions : MSQueryParameters 6 | 7 | + (instancetype) expand:(NSString *)expand; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSExpandOptions.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSExpandOptions.h" 4 | 5 | @implementation MSExpandOptions 6 | 7 | + (instancetype) expand:(NSString *)expand 8 | { 9 | return [[MSExpandOptions alloc] initWithKey:@"$expand" value:expand]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSFunctionParameters.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | #import "MSRequestOptions.h" 5 | 6 | /** 7 | An `MSRequestOptions` object to be used with Function Parameters 8 | */ 9 | @interface MSFunctionParameters : MSRequestOptions 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSHeaderOptions.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | #import "MSRequestOptions.h" 5 | 6 | /** 7 | An `MSRequestOptions` object to be used in the headers of a request 8 | */ 9 | @interface MSHeaderOptions : MSRequestOptions 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSHeaderOptions.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSHeaderOptions.h" 4 | 5 | @implementation MSHeaderOptions 6 | 7 | - (void)appendOptionToHeaders: (NSMutableDictionary *)headers; 8 | { 9 | headers[self.key] = self.value; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSIfMatch.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSHeaderOptions.h" 4 | 5 | @interface MSIfMatch : MSHeaderOptions 6 | 7 | + (instancetype) entityTags:(NSString *)eTags; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSIfMatch.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSIfMatch.h" 4 | 5 | @implementation MSIfMatch 6 | 7 | + (instancetype) entityTags:(NSString *)eTags 8 | { 9 | return [[MSIfMatch alloc] initWithKey:@"If-Match" value:eTags]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSIfNoneMatch.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSHeaderOptions.h" 4 | 5 | @interface MSIfNoneMatch : MSHeaderOptions 6 | 7 | + (instancetype) entityTags:(NSString *)eTags; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSIfNoneMatch.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSIfNoneMatch.h" 4 | 5 | @implementation MSIfNoneMatch 6 | 7 | + (instancetype) entityTags:(NSString *)eTags 8 | { 9 | return [[MSIfNoneMatch alloc] initWithKey:@"If-None-Match" value:eTags]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSNameConflict.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSQueryParameters.h" 4 | 5 | @interface MSNameConflict : MSQueryParameters 6 | 7 | + (instancetype)fail; 8 | 9 | + (instancetype)replace; 10 | 11 | + (instancetype)rename; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSOrderByOptions.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSQueryParameters.h" 4 | 5 | @interface MSOrderByOptions : MSQueryParameters 6 | 7 | + (instancetype) orderBy:(NSString *)orderBy; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSOrderByOptions.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSOrderByOptions.h" 4 | 5 | @implementation MSOrderByOptions 6 | 7 | + (instancetype) orderBy:(NSString *)orderBy 8 | { 9 | return [[MSOrderByOptions alloc] initWithKey:@"$orderby" value:orderBy]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSQueryParameters.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | #import "MSRequestOptions.h" 5 | 6 | /** 7 | An `MSRequestOptions` object to be used with QueryParameters 8 | */ 9 | @interface MSQueryParameters : MSRequestOptions 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSSelectOptions.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSQueryParameters.h" 4 | 5 | @interface MSSelectOptions : MSQueryParameters 6 | 7 | + (instancetype) select:(NSString *)string; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSSelectOptions.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSSelectOptions.h" 4 | 5 | @implementation MSSelectOptions 6 | 7 | + (instancetype) select:(NSString *)string 8 | { 9 | return [[MSSelectOptions alloc] initWithKey:@"$select" value:string]; 10 | } 11 | 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSTopOptions.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSQueryParameters.h" 4 | 5 | @interface MSTopOptions : MSQueryParameters 6 | 7 | + (instancetype) top:(NSInteger)top; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Core/Options/MSTopOptions.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSTopOptions.h" 4 | 5 | @implementation MSTopOptions 6 | 7 | + (instancetype) top:(NSInteger)top 8 | { 9 | return [[MSTopOptions alloc] initWithKey:@"$top" value:[NSString stringWithFormat:@"%ld",(long)top]]; 10 | } 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphClient+Base.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | #import "MSGraphClient.h" 6 | #import "MSGraphClientConfiguration.h" 7 | 8 | @interface MSGraphClient (Base) 9 | 10 | /** 11 | Creates a client using settings defined in the provided config 12 | @warning With this method, the onus is on the developer to ensure the MSAuthenticationProvider is in a state ready to create auth headers before making client requests. 13 | */ 14 | +(MSGraphClient*)clientWithConfig:(MSGraphClientConfiguration*)config; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphDriveItemRequestBuilder+ItemByPath.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSGraphDriveItemRequestBuilder.h" 4 | 5 | @interface MSGraphDriveItemRequestBuilder (ItemByPath) 6 | 7 | - (MSGraphDriveItemRequestBuilder *)itemByPath:(NSString *)path; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphDriveItemRequestBuilder+ItemByPath.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSGraphDriveItemRequestBuilder+ItemByPath.h" 4 | 5 | @implementation MSGraphDriveItemRequestBuilder (ItemByPath) 6 | 7 | - (MSGraphDriveItemRequestBuilder *)itemByPath:(NSString *)path 8 | { 9 | 10 | NSString *encPath = [path stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLPathAllowedCharacterSet]]; 11 | NSString *fullPath = [NSString stringWithFormat:@"%@:/%@:/", self.requestURL, encPath]; 12 | return [[MSGraphDriveItemRequestBuilder alloc] initWithURL:[NSURL URLWithString:fullPath] client:self.client]; 13 | } 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphDriveSpecialCollectionRequestBuilder+KnownFolders.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | #import "MSGraphDriveSpecialCollectionRequestBuilder.h" 6 | 7 | @interface MSGraphDriveSpecialCollectionRequestBuilder (KnownFolders) 8 | 9 | - (MSGraphDriveItemRequestBuilder*) approot; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphDriveSpecialCollectionRequestBuilder+KnownFolders.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSGraphDriveSpecialCollectionRequestBuilder+KnownFolders.h" 4 | 5 | @implementation MSGraphDriveSpecialCollectionRequestBuilder (KnownFolders) 6 | 7 | - (MSGraphDriveItemRequestBuilder*) approot { 8 | return [self driveItem:@"approot"]; 9 | } 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphThumbnailSet+CustomThumbnail.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import "MSGraphThumbnailSet.h" 4 | #import "MSGraphThumbnailSetRequestBuilder.h" 5 | 6 | @interface MSGraphThumbnailSet (CustomThumbnail) 7 | 8 | - (MSGraphThumbnail *)customThumbnailWithSize:(NSString *)size; 9 | 10 | @end 11 | 12 | @interface MSGraphThumbnailSetRequestBuilder (CustomThumbnail) 13 | 14 | - (MSGraphThumbnailRequestBuilder *)customThumbnailWithSize:(NSString *)size; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/MSGraphUserMailFoldersCollectionRequestBuilder+KnownFolders.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | #import "MSGraphUserMailFoldersCollectionRequestBuilder.h" 6 | 7 | @interface MSGraphUserMailFoldersCollectionRequestBuilder (KnownFolders) 8 | 9 | - (MSGraphMailFolderRequestBuilder *)inbox; 10 | - (MSGraphMailFolderRequestBuilder *)drafts; 11 | - (MSGraphMailFolderRequestBuilder *)sentItems; 12 | - (MSGraphMailFolderRequestBuilder *)deletedItems; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/NSArray+MSSerialization.h: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MSSerialization.h 3 | // MSGraphSDK 4 | // 5 | // Created by Kevin Lam on 3/31/16. 6 | // Copyright © 2016 Microsoft. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface NSArray (MSSerialization) 12 | 13 | /** 14 | Return an array with all values compatible with NSJsonSerialization 15 | */ 16 | - (NSArray *) arrayFromItem; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/NSArray+MSSerialization.m: -------------------------------------------------------------------------------- 1 | // 2 | // NSArray+MSSerialization.m 3 | // MSGraphSDK 4 | // 5 | // Created by Kevin Lam on 3/31/16. 6 | // Copyright © 2016 Microsoft. All rights reserved. 7 | // 8 | 9 | #import "NSArray+MSSerialization.h" 10 | #import "MSObject.h" 11 | #import "NSDate+MSSerialization.h" 12 | 13 | @implementation NSArray (MSSerialization) 14 | 15 | - (NSArray *) arrayFromItem 16 | { 17 | NSMutableArray *retArray = [NSMutableArray arrayWithCapacity:[self count]]; 18 | [self enumerateObjectsUsingBlock:^(id obj, NSUInteger idx, BOOL *stop){ 19 | retArray[idx] = [MSObject getNSJsonSerializationCompatibleValue:obj]; 20 | }]; 21 | return retArray; 22 | } 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/NSDate+MSSerialization.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | @interface NSDate (Serialization) 6 | 7 | - (NSString *)ms_toString; 8 | 9 | + (instancetype)ms_dateFromString:(NSString *)dateString; 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/Extensions/NSJSONSerialization+ResponseHelper.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | 5 | @interface NSJSONSerialization (ResponseHelper) 6 | 7 | + (NSDictionary *)dictionaryWithResponse:(NSURLResponse *)response responseData:(NSData *)data error:(NSError * __autoreleasing *)error; 8 | 9 | + (NSError *)errorFromResponse:(NSURLResponse *)response responseObject:(NSDictionary *)responseObject; 10 | 11 | + (NSError *)errorWithStatusCode:(NSInteger)statusCode responseDictionary:(NSDictionary *)responseDictionary; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphAlternativeSecurityId.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphAlternativeSecurityId : MSObject 10 | 11 | @property (nonatomic, setter=setType:, getter=type) int32_t type; 12 | @property (nonatomic, setter=setIdentityProvider:, getter=identityProvider) NSString* identityProvider; 13 | @property (nonatomic, setter=setKey:, getter=key) NSString* key; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphAssignedLicense.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphAssignedLicense : MSObject 10 | 11 | @property (nonatomic, setter=setDisabledPlans:, getter=disabledPlans) NSArray* disabledPlans; 12 | @property (nonatomic, setter=setSkuId:, getter=skuId) NSString* skuId; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphAssignedPlan.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphAssignedPlan : MSObject 10 | 11 | @property (nonatomic, setter=setAssignedDateTime:, getter=assignedDateTime) NSDate* assignedDateTime; 12 | @property (nonatomic, setter=setCapabilityStatus:, getter=capabilityStatus) NSString* capabilityStatus; 13 | @property (nonatomic, setter=setService:, getter=service) NSString* service; 14 | @property (nonatomic, setter=setServicePlanId:, getter=servicePlanId) NSString* servicePlanId; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphAttachment.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphEntity.h" 7 | 8 | @interface MSGraphAttachment : MSGraphEntity 9 | 10 | @property (nonatomic, setter=setLastModifiedDateTime:, getter=lastModifiedDateTime) NSDate* lastModifiedDateTime; 11 | @property (nonatomic, setter=setName:, getter=name) NSString* name; 12 | @property (nonatomic, setter=setContentType:, getter=contentType) NSString* contentType; 13 | @property (nonatomic, setter=setSize:, getter=size) int32_t size; 14 | @property (nonatomic, setter=setIsInline:, getter=isInline) BOOL isInline; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphAttendee.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphResponseStatus; 6 | #import "MSGraphAttendeeType.h" 7 | 8 | 9 | #import "MSGraphRecipient.h" 10 | 11 | @interface MSGraphAttendee : MSGraphRecipient 12 | 13 | @property (nonatomic, setter=setStatus:, getter=status) MSGraphResponseStatus* status; 14 | @property (nonatomic, setter=setType:, getter=type) MSGraphAttendeeType* type; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphCalendarGroup.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphCalendar; 5 | 6 | 7 | #import "MSGraphEntity.h" 8 | 9 | @interface MSGraphCalendarGroup : MSGraphEntity 10 | 11 | @property (nonatomic, setter=setName:, getter=name) NSString* name; 12 | @property (nonatomic, setter=setClassId:, getter=classId) NSString* classId; 13 | @property (nonatomic, setter=setChangeKey:, getter=changeKey) NSString* changeKey; 14 | @property (nonatomic, setter=setCalendars:, getter=calendars) NSArray* calendars; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphContactFolder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphContact; 5 | 6 | 7 | #import "MSGraphEntity.h" 8 | 9 | @interface MSGraphContactFolder : MSGraphEntity 10 | 11 | @property (nonatomic, setter=setParentFolderId:, getter=parentFolderId) NSString* parentFolderId; 12 | @property (nonatomic, setter=setDisplayName:, getter=displayName) NSString* displayName; 13 | @property (nonatomic, setter=setContacts:, getter=contacts) NSArray* contacts; 14 | @property (nonatomic, setter=setChildFolders:, getter=childFolders) NSArray* childFolders; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDateTimeTimeZone.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphDateTimeTimeZone : MSObject 10 | 11 | @property (nonatomic, setter=setDateTime:, getter=dateTime) NSString* dateTime; 12 | @property (nonatomic, setter=setTimeZone:, getter=timeZone) NSString* timeZone; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDeleted.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphDeleted : MSObject 10 | 11 | @property (nonatomic, setter=setState:, getter=state) NSString* state; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDeleted.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphDeleted() 16 | { 17 | NSString* _state; 18 | } 19 | @end 20 | 21 | @implementation MSGraphDeleted 22 | 23 | - (NSString*) state 24 | { 25 | return self.dictionary[@"state"]; 26 | } 27 | - (void) setState: (NSString*) val 28 | { 29 | self.dictionary[@"state"] = val; 30 | } 31 | @end 32 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDirectoryObject.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphEntity.h" 7 | 8 | @interface MSGraphDirectoryObject : MSGraphEntity 9 | 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDirectoryObject.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphDirectoryObject() 16 | { 17 | } 18 | @end 19 | 20 | @implementation MSGraphDirectoryObject 21 | 22 | - (id) init 23 | { 24 | if (self = [super init]) { 25 | self.oDataType = @"#microsoft.graph.directoryObject"; 26 | } 27 | return self; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDirectoryRole.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDirectoryObject; 5 | 6 | 7 | #import "MSGraphDirectoryObject.h" 8 | 9 | @interface MSGraphDirectoryRole : MSGraphDirectoryObject 10 | 11 | @property (nonatomic, setter=setDirectoryRoleDescription:, getter=directoryRoleDescription) NSString* directoryRoleDescription; 12 | @property (nonatomic, setter=setDisplayName:, getter=displayName) NSString* displayName; 13 | @property (nonatomic, setter=setRoleTemplateId:, getter=roleTemplateId) NSString* roleTemplateId; 14 | @property (nonatomic, setter=setMembers:, getter=members) NSArray* members; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDirectoryRoleTemplate.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphDirectoryObject.h" 7 | 8 | @interface MSGraphDirectoryRoleTemplate : MSGraphDirectoryObject 9 | 10 | @property (nonatomic, setter=setDirectoryRoleTemplateDescription:, getter=directoryRoleTemplateDescription) NSString* directoryRoleTemplateDescription; 11 | @property (nonatomic, setter=setDisplayName:, getter=displayName) NSString* displayName; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphDriveRecipient.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphDriveRecipient : MSObject 10 | 11 | @property (nonatomic, setter=setEmail:, getter=email) NSString* email; 12 | @property (nonatomic, setter=setAlias:, getter=alias) NSString* alias; 13 | @property (nonatomic, setter=setObjectId:, getter=objectId) NSString* objectId; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphEmailAddress.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphEmailAddress : MSObject 10 | 11 | @property (nonatomic, setter=setName:, getter=name) NSString* name; 12 | @property (nonatomic, setter=setAddress:, getter=address) NSString* address; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphEntity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSObject.h" 7 | 8 | @interface MSGraphEntity : MSObject 9 | 10 | @property (nonatomic, setter=setODataType:, getter=oDataType) NSString *oDataType; 11 | @property (nonatomic, setter=setEntityId:, getter=entityId) NSString* entityId; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphEventMessage.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphEvent; 5 | #import "MSGraphMeetingMessageType.h" 6 | 7 | 8 | #import "MSGraphMessage.h" 9 | 10 | @interface MSGraphEventMessage : MSGraphMessage 11 | 12 | @property (nonatomic, setter=setMeetingMessageType:, getter=meetingMessageType) MSGraphMeetingMessageType* meetingMessageType; 13 | @property (nonatomic, setter=setEvent:, getter=event) MSGraphEvent* event; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphFile.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphHashes; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphFile : MSObject 11 | 12 | @property (nonatomic, setter=setHashes:, getter=hashes) MSGraphHashes* hashes; 13 | @property (nonatomic, setter=setMimeType:, getter=mimeType) NSString* mimeType; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphFileAttachment.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphAttachment.h" 7 | 8 | @interface MSGraphFileAttachment : MSGraphAttachment 9 | 10 | @property (nonatomic, setter=setContentId:, getter=contentId) NSString* contentId; 11 | @property (nonatomic, setter=setContentLocation:, getter=contentLocation) NSString* contentLocation; 12 | @property (nonatomic, setter=setContentBytes:, getter=contentBytes) NSString* contentBytes; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphFileSystemInfo.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphFileSystemInfo : MSObject 10 | 11 | @property (nonatomic, setter=setCreatedDateTime:, getter=createdDateTime) NSDate* createdDateTime; 12 | @property (nonatomic, setter=setLastModifiedDateTime:, getter=lastModifiedDateTime) NSDate* lastModifiedDateTime; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphFolder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphFolder : MSObject 10 | 11 | @property (nonatomic, setter=setChildCount:, getter=childCount) int32_t childCount; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphGeoCoordinates.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphGeoCoordinates : MSObject 11 | 12 | @property (nonatomic, setter=setAltitude:, getter=altitude) CGFloat altitude; 13 | @property (nonatomic, setter=setLatitude:, getter=latitude) CGFloat latitude; 14 | @property (nonatomic, setter=setLongitude:, getter=longitude) CGFloat longitude; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphHashes.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphHashes : MSObject 10 | 11 | @property (nonatomic, setter=setCrc32Hash:, getter=crc32Hash) NSString* crc32Hash; 12 | @property (nonatomic, setter=setSha1Hash:, getter=sha1Hash) NSString* sha1Hash; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphIdentity.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphIdentity : MSObject 10 | 11 | @property (nonatomic, setter=setDisplayName:, getter=displayName) NSString* displayName; 12 | @property (nonatomic, setter=setIdentityId:, getter=identityId) NSString* identityId; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphIdentitySet.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphIdentity; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphIdentitySet : MSObject 11 | 12 | @property (nonatomic, setter=setApplication:, getter=application) MSGraphIdentity* application; 13 | @property (nonatomic, setter=setDevice:, getter=device) MSGraphIdentity* device; 14 | @property (nonatomic, setter=setUser:, getter=user) MSGraphIdentity* user; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphImage.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphImage : MSObject 10 | 11 | @property (nonatomic, setter=setHeight:, getter=height) int32_t height; 12 | @property (nonatomic, setter=setWidth:, getter=width) int32_t width; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphItemAttachment.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphOutlookItem; 5 | 6 | 7 | #import "MSGraphAttachment.h" 8 | 9 | @interface MSGraphItemAttachment : MSGraphAttachment 10 | 11 | @property (nonatomic, setter=setItem:, getter=item) MSGraphOutlookItem* item; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphItemBody.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphBodyType.h" 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphItemBody : MSObject 11 | 12 | @property (nonatomic, setter=setContentType:, getter=contentType) MSGraphBodyType* contentType; 13 | @property (nonatomic, setter=setContent:, getter=content) NSString* content; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphItemReference.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphItemReference : MSObject 10 | 11 | @property (nonatomic, setter=setDriveId:, getter=driveId) NSString* driveId; 12 | @property (nonatomic, setter=setItemReferenceId:, getter=itemReferenceId) NSString* itemReferenceId; 13 | @property (nonatomic, setter=setPath:, getter=path) NSString* path; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphLicenseUnitsDetail.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphLicenseUnitsDetail : MSObject 10 | 11 | @property (nonatomic, setter=setEnabled:, getter=enabled) int32_t enabled; 12 | @property (nonatomic, setter=setSuspended:, getter=suspended) int32_t suspended; 13 | @property (nonatomic, setter=setWarning:, getter=warning) int32_t warning; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphLocation.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphPhysicalAddress; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphLocation : MSObject 11 | 12 | @property (nonatomic, setter=setDisplayName:, getter=displayName) NSString* displayName; 13 | @property (nonatomic, setter=setAddress:, getter=address) MSGraphPhysicalAddress* address; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphOutlookItem.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphEntity.h" 7 | 8 | @interface MSGraphOutlookItem : MSGraphEntity 9 | 10 | @property (nonatomic, setter=setCreatedDateTime:, getter=createdDateTime) NSDate* createdDateTime; 11 | @property (nonatomic, setter=setLastModifiedDateTime:, getter=lastModifiedDateTime) NSDate* lastModifiedDateTime; 12 | @property (nonatomic, setter=setChangeKey:, getter=changeKey) NSString* changeKey; 13 | @property (nonatomic, setter=setCategories:, getter=categories) NSArray* categories; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphPackage.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphPackage : MSObject 10 | 11 | @property (nonatomic, setter=setType:, getter=type) NSString* type; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphPackage.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphPackage() 16 | { 17 | NSString* _type; 18 | } 19 | @end 20 | 21 | @implementation MSGraphPackage 22 | 23 | - (NSString*) type 24 | { 25 | return self.dictionary[@"type"]; 26 | } 27 | - (void) setType: (NSString*) val 28 | { 29 | self.dictionary[@"type"] = val; 30 | } 31 | @end 32 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphPasswordProfile.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphPasswordProfile : MSObject 10 | 11 | @property (nonatomic, setter=setPassword:, getter=password) NSString* password; 12 | @property (nonatomic, setter=setForceChangePasswordNextSignIn:, getter=forceChangePasswordNextSignIn) BOOL forceChangePasswordNextSignIn; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphPatternedRecurrence.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphRecurrencePattern, MSGraphRecurrenceRange; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphPatternedRecurrence : MSObject 11 | 12 | @property (nonatomic, setter=setPattern:, getter=pattern) MSGraphRecurrencePattern* pattern; 13 | @property (nonatomic, setter=setRange:, getter=range) MSGraphRecurrenceRange* range; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphPhysicalAddress.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphPhysicalAddress : MSObject 10 | 11 | @property (nonatomic, setter=setStreet:, getter=street) NSString* street; 12 | @property (nonatomic, setter=setCity:, getter=city) NSString* city; 13 | @property (nonatomic, setter=setState:, getter=state) NSString* state; 14 | @property (nonatomic, setter=setCountryOrRegion:, getter=countryOrRegion) NSString* countryOrRegion; 15 | @property (nonatomic, setter=setPostalCode:, getter=postalCode) NSString* postalCode; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphProfilePhoto.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphEntity.h" 7 | 8 | @interface MSGraphProfilePhoto : MSGraphEntity 9 | 10 | @property (nonatomic, setter=setHeight:, getter=height) int32_t height; 11 | @property (nonatomic, setter=setWidth:, getter=width) int32_t width; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphProvisionedPlan.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphProvisionedPlan : MSObject 10 | 11 | @property (nonatomic, setter=setCapabilityStatus:, getter=capabilityStatus) NSString* capabilityStatus; 12 | @property (nonatomic, setter=setProvisioningStatus:, getter=provisioningStatus) NSString* provisioningStatus; 13 | @property (nonatomic, setter=setService:, getter=service) NSString* service; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphQuota.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphQuota : MSObject 10 | 11 | @property (nonatomic, setter=setDeleted:, getter=deleted) int64_t deleted; 12 | @property (nonatomic, setter=setRemaining:, getter=remaining) int64_t remaining; 13 | @property (nonatomic, setter=setState:, getter=state) NSString* state; 14 | @property (nonatomic, setter=setTotal:, getter=total) int64_t total; 15 | @property (nonatomic, setter=setUsed:, getter=used) int64_t used; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphRecipient.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphEmailAddress; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphRecipient : MSObject 11 | 12 | @property (nonatomic, setter=setEmailAddress:, getter=emailAddress) MSGraphEmailAddress* emailAddress; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphReferenceAttachment.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | #import "MSGraphAttachment.h" 7 | 8 | @interface MSGraphReferenceAttachment : MSGraphAttachment 9 | 10 | 11 | @end 12 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphReferenceAttachment.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphReferenceAttachment() 16 | { 17 | } 18 | @end 19 | 20 | @implementation MSGraphReferenceAttachment 21 | 22 | - (id) init 23 | { 24 | if (self = [super init]) { 25 | self.oDataType = @"#microsoft.graph.referenceAttachment"; 26 | } 27 | return self; 28 | } 29 | 30 | @end 31 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphResponseStatus.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphResponseType.h" 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphResponseStatus : MSObject 11 | 12 | @property (nonatomic, setter=setResponse:, getter=response) MSGraphResponseType* response; 13 | @property (nonatomic, setter=setTime:, getter=time) NSDate* time; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSearchResult.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphSearchResult : MSObject 10 | 11 | @property (nonatomic, setter=setOnClickTelemetryUrl:, getter=onClickTelemetryUrl) NSString* onClickTelemetryUrl; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSearchResult.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphSearchResult() 16 | { 17 | NSString* _onClickTelemetryUrl; 18 | } 19 | @end 20 | 21 | @implementation MSGraphSearchResult 22 | 23 | - (NSString*) onClickTelemetryUrl 24 | { 25 | return self.dictionary[@"onClickTelemetryUrl"]; 26 | } 27 | - (void) setOnClickTelemetryUrl: (NSString*) val 28 | { 29 | self.dictionary[@"onClickTelemetryUrl"] = val; 30 | } 31 | @end 32 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphServicePlanInfo.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphServicePlanInfo : MSObject 10 | 11 | @property (nonatomic, setter=setServicePlanId:, getter=servicePlanId) NSString* servicePlanId; 12 | @property (nonatomic, setter=setServicePlanName:, getter=servicePlanName) NSString* servicePlanName; 13 | @property (nonatomic, setter=setProvisioningStatus:, getter=provisioningStatus) NSString* provisioningStatus; 14 | @property (nonatomic, setter=setAppliesTo:, getter=appliesTo) NSString* appliesTo; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphShared.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphIdentitySet; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphShared : MSObject 11 | 12 | @property (nonatomic, setter=setOwner:, getter=owner) MSGraphIdentitySet* owner; 13 | @property (nonatomic, setter=setScope:, getter=scope) NSString* scope; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSharingInvitation.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphIdentitySet; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphSharingInvitation : MSObject 11 | 12 | @property (nonatomic, setter=setEmail:, getter=email) NSString* email; 13 | @property (nonatomic, setter=setInvitedBy:, getter=invitedBy) MSGraphIdentitySet* invitedBy; 14 | @property (nonatomic, setter=setRedeemedBy:, getter=redeemedBy) NSString* redeemedBy; 15 | @property (nonatomic, setter=setSignInRequired:, getter=signInRequired) BOOL signInRequired; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSharingLink.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphIdentity; 6 | 7 | 8 | #import "MSObject.h" 9 | 10 | @interface MSGraphSharingLink : MSObject 11 | 12 | @property (nonatomic, setter=setApplication:, getter=application) MSGraphIdentity* application; 13 | @property (nonatomic, setter=setType:, getter=type) NSString* type; 14 | @property (nonatomic, setter=setWebUrl:, getter=webUrl) NSString* webUrl; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSpecialFolder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphSpecialFolder : MSObject 10 | 11 | @property (nonatomic, setter=setName:, getter=name) NSString* name; 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphSpecialFolder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "NSDate+MSSerialization.h" 6 | 7 | #import "MSGraphModels.h" 8 | 9 | @interface MSObject() 10 | 11 | @property (strong, nonatomic) NSMutableDictionary *dictionary; 12 | 13 | @end 14 | 15 | @interface MSGraphSpecialFolder() 16 | { 17 | NSString* _name; 18 | } 19 | @end 20 | 21 | @implementation MSGraphSpecialFolder 22 | 23 | - (NSString*) name 24 | { 25 | return self.dictionary[@"name"]; 26 | } 27 | - (void) setName: (NSString*) val 28 | { 29 | self.dictionary[@"name"] = val; 30 | } 31 | @end 32 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphThumbnail.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphThumbnail : MSObject 10 | 11 | @property (nonatomic, setter=setHeight:, getter=height) int32_t height; 12 | @property (nonatomic, setter=setUrl:, getter=url) NSString* url; 13 | @property (nonatomic, setter=setWidth:, getter=width) int32_t width; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphThumbnailSet.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphThumbnail; 5 | 6 | 7 | #import "MSGraphEntity.h" 8 | 9 | @interface MSGraphThumbnailSet : MSGraphEntity 10 | 11 | @property (nonatomic, setter=setLarge:, getter=large) MSGraphThumbnail* large; 12 | @property (nonatomic, setter=setMedium:, getter=medium) MSGraphThumbnail* medium; 13 | @property (nonatomic, setter=setSmall:, getter=small) MSGraphThumbnail* small; 14 | @property (nonatomic, setter=setSource:, getter=source) MSGraphThumbnail* source; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphUploadSession.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphUploadSession : MSObject 10 | 11 | @property (nonatomic, setter=setUploadUrl:, getter=uploadUrl) NSString* uploadUrl; 12 | @property (nonatomic, setter=setExpirationDateTime:, getter=expirationDateTime) NSDate* expirationDateTime; 13 | @property (nonatomic, setter=setNextExpectedRanges:, getter=nextExpectedRanges) NSArray* nextExpectedRanges; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphVerifiedDomain.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphVerifiedDomain : MSObject 10 | 11 | @property (nonatomic, setter=setCapabilities:, getter=capabilities) NSString* capabilities; 12 | @property (nonatomic, setter=setIsDefault:, getter=isDefault) BOOL isDefault; 13 | @property (nonatomic, setter=setIsInitial:, getter=isInitial) BOOL isInitial; 14 | @property (nonatomic, setter=setName:, getter=name) NSString* name; 15 | @property (nonatomic, setter=setType:, getter=type) NSString* type; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/model/MSGraphVideo.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | 6 | 7 | #import "MSObject.h" 8 | 9 | @interface MSGraphVideo : MSObject 10 | 11 | @property (nonatomic, setter=setBitrate:, getter=bitrate) int32_t bitrate; 12 | @property (nonatomic, setter=setDuration:, getter=duration) int64_t duration; 13 | @property (nonatomic, setter=setHeight:, getter=height) int32_t height; 14 | @property (nonatomic, setter=setWidth:, getter=width) int32_t width; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphAttachmentRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphAttachmentRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphAttachment *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphAttachment *)attachment withCompletion:(void (^)(MSGraphAttachment *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphAttachmentRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphAttachmentRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphEntityRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphAttachmentRequestBuilder : MSGraphEntityRequestBuilder 13 | 14 | 15 | - (MSGraphAttachmentRequest *) request; 16 | 17 | - (MSGraphAttachmentRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphAttachmentRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphAttachmentRequestBuilder 8 | 9 | 10 | - (MSGraphAttachmentRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphAttachmentRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphAttachmentRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphCalendarCalendarViewCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphCalendarCalendarViewCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphCalendarCalendarViewCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphCalendarCalendarViewCollectionRequest *)request; 15 | 16 | - (MSGraphCalendarCalendarViewCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphCalendarEventsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphCalendarEventsCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphCalendarEventsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphCalendarEventsCollectionRequest *)request; 15 | 16 | - (MSGraphCalendarEventsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphCalendarGroupCalendarsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphCalendarGroupCalendarsCollectionRequest, MSGraphCalendarRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphCalendarGroupCalendarsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphCalendarGroupCalendarsCollectionRequest *)request; 15 | 16 | - (MSGraphCalendarGroupCalendarsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphCalendarRequestBuilder *)calendar:(NSString *)calendar; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphContactFolderContactsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphContactFolderContactsCollectionRequest, MSGraphContactRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphContactFolderContactsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphContactFolderContactsCollectionRequest *)request; 15 | 16 | - (MSGraphContactFolderContactsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphContactRequestBuilder *)contact:(NSString *)contact; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphContactRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | @class MSGraphProfilePhotoRequestBuilder; 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphContactRequest : MSRequest 11 | 12 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphContact *response, NSError *error))completionHandler; 13 | 14 | - (MSURLSessionDataTask *)update:(MSGraphContact *)contact withCompletion:(void (^)(MSGraphContact *response, NSError *error))completionHandler; 15 | 16 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphConversationThreadPostsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphConversationThreadPostsCollectionRequest, MSGraphPostRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphConversationThreadPostsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphConversationThreadPostsCollectionRequest *)request; 15 | 16 | - (MSGraphConversationThreadPostsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphPostRequestBuilder *)post:(NSString *)post; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphConversationThreadReplyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphConversationThreadReplyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithPost:(MSGraphPost *)post URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphConversationThreadReplyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphConversationThreadReplyRequest; 10 | 11 | @interface MSGraphConversationThreadReplyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithPost:(MSGraphPost *)post URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphConversationThreadReplyRequest *)request; 16 | 17 | - (MSGraphConversationThreadReplyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectCheckMemberGroupsRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDirectoryObjectCheckMemberGroupsRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithGroupIds:(NSArray *)groupIds URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDirectoryObjectCheckMemberGroupsRequest *nextRequest, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectCheckMemberGroupsRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDirectoryObjectCheckMemberGroupsRequest; 10 | 11 | @interface MSGraphDirectoryObjectCheckMemberGroupsRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithGroupIds:(NSArray *)groupIds URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDirectoryObjectCheckMemberGroupsRequest *)request; 16 | 17 | - (MSGraphDirectoryObjectCheckMemberGroupsRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectGetMemberGroupsRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDirectoryObjectGetMemberGroupsRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithSecurityEnabledOnly:(BOOL)securityEnabledOnly URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDirectoryObjectGetMemberGroupsRequest *nextRequest, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectGetMemberGroupsRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDirectoryObjectGetMemberGroupsRequest; 10 | 11 | @interface MSGraphDirectoryObjectGetMemberGroupsRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithSecurityEnabledOnly:(BOOL)securityEnabledOnly URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDirectoryObjectGetMemberGroupsRequest *)request; 16 | 17 | - (MSGraphDirectoryObjectGetMemberGroupsRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectGetMemberObjectsRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDirectoryObjectGetMemberObjectsRequest; 10 | 11 | @interface MSGraphDirectoryObjectGetMemberObjectsRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithSecurityEnabledOnly:(BOOL)securityEnabledOnly URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDirectoryObjectGetMemberObjectsRequest *)request; 16 | 17 | - (MSGraphDirectoryObjectGetMemberObjectsRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectReferenceRequest.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphDirectoryObjectReferenceRequest : MSRequest 11 | 12 | 13 | 14 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectReferenceRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | @class MSGraphDirectoryObjectReferenceRequest; 8 | 9 | 10 | #import "MSGraphModels.h" 11 | #import "MSRequestBuilder.h" 12 | 13 | 14 | @interface MSGraphDirectoryObjectReferenceRequestBuilder : MSRequestBuilder 15 | 16 | 17 | - (MSGraphDirectoryObjectReferenceRequest *) request; 18 | 19 | - (MSGraphDirectoryObjectReferenceRequest *) requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectReferenceRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphDirectoryObjectReferenceRequestBuilder 10 | 11 | 12 | - (MSGraphDirectoryObjectReferenceRequest *)request 13 | { 14 | return [self requestWithOptions:nil]; 15 | } 16 | 17 | - (MSGraphDirectoryObjectReferenceRequest *) requestWithOptions:(NSArray *)options 18 | { 19 | return [[MSGraphDirectoryObjectReferenceRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 20 | } 21 | 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphDirectoryObjectRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphDirectoryObject *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphDirectoryObject *)directoryObject withCompletion:(void (^)(MSGraphDirectoryObject *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectWithReferenceRequest.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphDirectoryObjectWithReferenceRequest : MSRequest 11 | 12 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphDirectoryObject *response, NSError *error))completionHandler; 13 | 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryObjectWithReferenceRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | @class MSGraphDirectoryObjectWithReferenceRequest; 8 | 9 | 10 | #import "MSGraphModels.h" 11 | #import "MSRequestBuilder.h" 12 | 13 | #import "MSGraphDirectoryObjectReferenceRequestBuilder.h" 14 | 15 | @interface MSGraphDirectoryObjectWithReferenceRequestBuilder : MSRequestBuilder 16 | 17 | 18 | - (MSGraphDirectoryObjectWithReferenceRequest *) request; 19 | 20 | - (MSGraphDirectoryObjectWithReferenceRequest *) requestWithOptions:(NSArray *)options; 21 | 22 | - (MSGraphDirectoryObjectReferenceRequestBuilder *) reference; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryRoleTemplateRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphDirectoryRoleTemplateRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphDirectoryObjectRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphDirectoryRoleTemplateRequestBuilder : MSGraphDirectoryObjectRequestBuilder 13 | 14 | 15 | - (MSGraphDirectoryRoleTemplateRequest *) request; 16 | 17 | - (MSGraphDirectoryRoleTemplateRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDirectoryRoleTemplateRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphDirectoryRoleTemplateRequestBuilder 8 | 9 | 10 | - (MSGraphDirectoryRoleTemplateRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphDirectoryRoleTemplateRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphDirectoryRoleTemplateRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemChildrenCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDriveItemChildrenCollectionRequest, MSGraphDriveItemRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDriveItemChildrenCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDriveItemChildrenCollectionRequest *)request; 15 | 16 | - (MSGraphDriveItemChildrenCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDriveItemRequestBuilder *)driveItem:(NSString *)driveItem; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemCopyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphDriveItemCopyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithName:(NSString *)name parentReference:(MSGraphItemReference *)parentReference URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphDriveItem *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemCopyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveItemCopyRequest; 10 | 11 | @interface MSGraphDriveItemCopyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithName:(NSString *)name parentReference:(MSGraphItemReference *)parentReference URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDriveItemCopyRequest *)request; 16 | 17 | - (MSGraphDriveItemCopyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemCreateLinkRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphDriveItemCreateLinkRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithType:(NSString *)type scope:(NSString *)scope URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphPermission *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemCreateLinkRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveItemCreateLinkRequest; 10 | 11 | @interface MSGraphDriveItemCreateLinkRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithType:(NSString *)type scope:(NSString *)scope URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDriveItemCreateLinkRequest *)request; 16 | 17 | - (MSGraphDriveItemCreateLinkRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemDeltaRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDriveItemDeltaRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDriveItemDeltaRequest *nextRequest, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemDeltaRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveItemDeltaRequest; 10 | 11 | @interface MSGraphDriveItemDeltaRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphDriveItemDeltaRequest *)request; 14 | 15 | - (MSGraphDriveItemDeltaRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemDeltaRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphDriveItemDeltaRequestBuilder 9 | 10 | - (MSGraphDriveItemDeltaRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphDriveItemDeltaRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphDriveItemDeltaRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemPermissionsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDriveItemPermissionsCollectionRequest, MSGraphPermissionRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDriveItemPermissionsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDriveItemPermissionsCollectionRequest *)request; 15 | 16 | - (MSGraphDriveItemPermissionsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphPermissionRequestBuilder *)permission:(NSString *)permission; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemSearchRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDriveItemSearchRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithQ:(NSString *)q URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDriveItemSearchRequest *nextRequest, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemSearchRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveItemSearchRequest; 10 | 11 | @interface MSGraphDriveItemSearchRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithQ:(NSString *)q URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphDriveItemSearchRequest *)request; 16 | 17 | - (MSGraphDriveItemSearchRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemThumbnailsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDriveItemThumbnailsCollectionRequest, MSGraphThumbnailSetRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDriveItemThumbnailsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDriveItemThumbnailsCollectionRequest *)request; 15 | 16 | - (MSGraphDriveItemThumbnailsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphThumbnailSetRequestBuilder *)thumbnailSet:(NSString *)thumbnailSet; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveItemsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDriveItemsCollectionRequest, MSGraphDriveItemRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDriveItemsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDriveItemsCollectionRequest *)request; 15 | 16 | - (MSGraphDriveItemsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDriveItemRequestBuilder *)driveItem:(NSString *)driveItem; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveRecentRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDriveRecentRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDriveRecentRequest *nextRequest, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveRecentRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveRecentRequest; 10 | 11 | @interface MSGraphDriveRecentRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphDriveRecentRequest *)request; 14 | 15 | - (MSGraphDriveRecentRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveRecentRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphDriveRecentRequestBuilder 9 | 10 | - (MSGraphDriveRecentRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphDriveRecentRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphDriveRecentRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveSharedWithMeRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphDriveSharedWithMeRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphDriveSharedWithMeRequest *nextRequest, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveSharedWithMeRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphDriveSharedWithMeRequest; 10 | 11 | @interface MSGraphDriveSharedWithMeRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphDriveSharedWithMeRequest *)request; 14 | 15 | - (MSGraphDriveSharedWithMeRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveSharedWithMeRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphDriveSharedWithMeRequestBuilder 9 | 10 | - (MSGraphDriveSharedWithMeRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphDriveSharedWithMeRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphDriveSharedWithMeRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphDriveSpecialCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDriveSpecialCollectionRequest, MSGraphDriveItemRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDriveSpecialCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDriveSpecialCollectionRequest *)request; 15 | 16 | - (MSGraphDriveSpecialCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDriveItemRequestBuilder *)driveItem:(NSString *)driveItem; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEntityRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEntityRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphEntity *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphEntity *)entity withCompletion:(void (^)(MSGraphEntity *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEntityRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphEntityRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphEntityRequestBuilder : MSRequestBuilder 13 | 14 | 15 | - (MSGraphEntityRequest *) request; 16 | 17 | - (MSGraphEntityRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEntityRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphEntityRequestBuilder 8 | 9 | 10 | - (MSGraphEntityRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphEntityRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphEntityRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventAcceptRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEventAcceptRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventAcceptRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphEventAcceptRequest; 10 | 11 | @interface MSGraphEventAcceptRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphEventAcceptRequest *)request; 16 | 17 | - (MSGraphEventAcceptRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventAttachmentsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphEventAttachmentsCollectionRequest, MSGraphAttachmentRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphEventAttachmentsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphEventAttachmentsCollectionRequest *)request; 15 | 16 | - (MSGraphEventAttachmentsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphAttachmentRequestBuilder *)attachment:(NSString *)attachment; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventDeclineRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEventDeclineRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventDeclineRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphEventDeclineRequest; 10 | 11 | @interface MSGraphEventDeclineRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphEventDeclineRequest *)request; 16 | 17 | - (MSGraphEventDeclineRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventDismissReminderRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEventDismissReminderRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventDismissReminderRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphEventDismissReminderRequest; 10 | 11 | @interface MSGraphEventDismissReminderRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphEventDismissReminderRequest *)request; 14 | 15 | - (MSGraphEventDismissReminderRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventDismissReminderRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphEventDismissReminderRequestBuilder 9 | 10 | - (MSGraphEventDismissReminderRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphEventDismissReminderRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphEventDismissReminderRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventInstancesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphEventInstancesCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphEventInstancesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphEventInstancesCollectionRequest *)request; 15 | 16 | - (MSGraphEventInstancesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventMessageRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | @class MSGraphEventRequestBuilder; 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphEventMessageRequest : MSRequest 11 | 12 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphEventMessage *response, NSError *error))completionHandler; 13 | 14 | - (MSURLSessionDataTask *)update:(MSGraphEventMessage *)eventMessage withCompletion:(void (^)(MSGraphEventMessage *response, NSError *error))completionHandler; 15 | 16 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventMessageRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphEventMessageRequest, MSGraphEventRequestBuilder; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphMessageRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphEventMessageRequestBuilder : MSGraphMessageRequestBuilder 13 | 14 | - (MSGraphEventRequestBuilder *) event; 15 | 16 | 17 | - (MSGraphEventMessageRequest *) request; 18 | 19 | - (MSGraphEventMessageRequest *) requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventSnoozeReminderRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEventSnoozeReminderRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithNewReminderTime:(MSGraphDateTimeTimeZone *)newReminderTime URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventSnoozeReminderRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphEventSnoozeReminderRequest; 10 | 11 | @interface MSGraphEventSnoozeReminderRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithNewReminderTime:(MSGraphDateTimeTimeZone *)newReminderTime URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphEventSnoozeReminderRequest *)request; 16 | 17 | - (MSGraphEventSnoozeReminderRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventTentativelyAcceptRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphEventTentativelyAcceptRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphEventTentativelyAcceptRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphEventTentativelyAcceptRequest; 10 | 11 | @interface MSGraphEventTentativelyAcceptRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment sendResponse:(BOOL)sendResponse URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphEventTentativelyAcceptRequest *)request; 16 | 17 | - (MSGraphEventTentativelyAcceptRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphFileAttachmentRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphFileAttachmentRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphFileAttachment *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphFileAttachment *)fileAttachment withCompletion:(void (^)(MSGraphFileAttachment *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphFileAttachmentRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphFileAttachmentRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphAttachmentRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphFileAttachmentRequestBuilder : MSGraphAttachmentRequestBuilder 13 | 14 | 15 | - (MSGraphFileAttachmentRequest *) request; 16 | 17 | - (MSGraphFileAttachmentRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphFileAttachmentRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphFileAttachmentRequestBuilder 8 | 9 | 10 | - (MSGraphFileAttachmentRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphFileAttachmentRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphFileAttachmentRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceDevicesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDevicesCollectionRequest, MSGraphDeviceRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDevicesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDevicesCollectionRequest *)request; 15 | 16 | - (MSGraphDevicesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDeviceRequestBuilder *)device:(NSString *)device; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceDirectoryObjectsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDirectoryObjectsCollectionRequest, MSGraphDirectoryObjectRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDirectoryObjectsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDirectoryObjectsCollectionRequest *)request; 15 | 16 | - (MSGraphDirectoryObjectsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDirectoryObjectRequestBuilder *)directoryObject:(NSString *)directoryObject; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceDirectoryRolesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDirectoryRolesCollectionRequest, MSGraphDirectoryRoleRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDirectoryRolesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDirectoryRolesCollectionRequest *)request; 15 | 16 | - (MSGraphDirectoryRolesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDirectoryRoleRequestBuilder *)directoryRole:(NSString *)directoryRole; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceDrivesCollectionRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphDriveRequest, MSURLSessionDataTask; 6 | 7 | #import "MSGraphModels.h" 8 | #import "MSCollectionRequest.h" 9 | 10 | typedef void (^MSGraphDriveCompletionHandler)(MSGraphDrive *response, NSError *error); 11 | 12 | typedef void (^MSGraphDrivesCollectionCompletionHandler)(MSCollection *response, MSGraphDrivesCollectionRequest *nextRequest, NSError *error); 13 | 14 | @interface MSGraphDrivesCollectionRequest : MSCollectionRequest 15 | 16 | - (MSURLSessionDataTask *)getWithCompletion:(MSGraphDrivesCollectionCompletionHandler)completionHandler; 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceDrivesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphDrivesCollectionRequest, MSGraphDriveRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphDrivesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphDrivesCollectionRequest *)request; 15 | 16 | - (MSGraphDrivesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDriveRequestBuilder *)drive:(NSString *)drive; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceGroupsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupsCollectionRequest, MSGraphGroupRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupsCollectionRequest *)request; 15 | 16 | - (MSGraphGroupsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphGroupRequestBuilder *)group:(NSString *)group; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceOrganizationCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphOrganizationCollectionRequest, MSGraphOrganizationRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphOrganizationCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphOrganizationCollectionRequest *)request; 15 | 16 | - (MSGraphOrganizationCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphOrganizationRequestBuilder *)organization:(NSString *)organization; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceSubscribedSkusCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphSubscribedSkusCollectionRequest, MSGraphSubscribedSkuRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphSubscribedSkusCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphSubscribedSkusCollectionRequest *)request; 15 | 16 | - (MSGraphSubscribedSkusCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphSubscribedSkuRequestBuilder *)subscribedSku:(NSString *)subscribedSku; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGraphServiceUsersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUsersCollectionRequest, MSGraphUserRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUsersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUsersCollectionRequest *)request; 15 | 16 | - (MSGraphUsersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphUserRequestBuilder *)user:(NSString *)user; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupAcceptedSendersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupAcceptedSendersCollectionRequest, MSGraphDirectoryObjectRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupAcceptedSendersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupAcceptedSendersCollectionRequest *)request; 15 | 16 | - (MSGraphGroupAcceptedSendersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDirectoryObjectRequestBuilder *)directoryObject:(NSString *)directoryObject; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupAddFavoriteRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphGroupAddFavoriteRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupAddFavoriteRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphGroupAddFavoriteRequest; 10 | 11 | @interface MSGraphGroupAddFavoriteRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphGroupAddFavoriteRequest *)request; 14 | 15 | - (MSGraphGroupAddFavoriteRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupAddFavoriteRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphGroupAddFavoriteRequestBuilder 9 | 10 | - (MSGraphGroupAddFavoriteRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphGroupAddFavoriteRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphGroupAddFavoriteRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupCalendarViewCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupCalendarViewCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupCalendarViewCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupCalendarViewCollectionRequest *)request; 15 | 16 | - (MSGraphGroupCalendarViewCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupConversationsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupConversationsCollectionRequest, MSGraphConversationRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupConversationsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupConversationsCollectionRequest *)request; 15 | 16 | - (MSGraphGroupConversationsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphConversationRequestBuilder *)conversation:(NSString *)conversation; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupEventsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupEventsCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupEventsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupEventsCollectionRequest *)request; 15 | 16 | - (MSGraphGroupEventsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupMemberOfCollectionReferencesRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | @class MSGraphGroupMemberOfCollectionReferencesRequest, MSGraphDirectoryObjectRequestBuilder; 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSCollectionRequestBuilder.h" 10 | 11 | #import "MSGraphGroupMemberOfCollectionReferencesRequestBuilder.h" 12 | 13 | 14 | 15 | @interface MSGraphGroupMemberOfCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 16 | 17 | - (MSGraphGroupMemberOfCollectionReferencesRequest *)request; 18 | 19 | - (MSGraphGroupMemberOfCollectionReferencesRequest *)requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupMemberOfCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphGroupMemberOfCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphGroupMemberOfCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphGroupMemberOfCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphGroupMemberOfCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupMembersCollectionReferencesRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | @class MSGraphGroupMembersCollectionReferencesRequest, MSGraphDirectoryObjectRequestBuilder; 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSCollectionRequestBuilder.h" 10 | 11 | #import "MSGraphGroupMembersCollectionReferencesRequestBuilder.h" 12 | 13 | 14 | 15 | @interface MSGraphGroupMembersCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 16 | 17 | - (MSGraphGroupMembersCollectionReferencesRequest *)request; 18 | 19 | - (MSGraphGroupMembersCollectionReferencesRequest *)requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupMembersCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphGroupMembersCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphGroupMembersCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphGroupMembersCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphGroupMembersCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupOwnersCollectionReferencesRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | @class MSGraphGroupOwnersCollectionReferencesRequest, MSGraphDirectoryObjectRequestBuilder; 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSCollectionRequestBuilder.h" 10 | 11 | #import "MSGraphGroupOwnersCollectionReferencesRequestBuilder.h" 12 | 13 | 14 | 15 | @interface MSGraphGroupOwnersCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 16 | 17 | - (MSGraphGroupOwnersCollectionReferencesRequest *)request; 18 | 19 | - (MSGraphGroupOwnersCollectionReferencesRequest *)requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupOwnersCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphGroupOwnersCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphGroupOwnersCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphGroupOwnersCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphGroupOwnersCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupRejectedSendersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupRejectedSendersCollectionRequest, MSGraphDirectoryObjectRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupRejectedSendersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupRejectedSendersCollectionRequest *)request; 15 | 16 | - (MSGraphGroupRejectedSendersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphDirectoryObjectRequestBuilder *)directoryObject:(NSString *)directoryObject; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupRemoveFavoriteRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphGroupRemoveFavoriteRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupRemoveFavoriteRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphGroupRemoveFavoriteRequest; 10 | 11 | @interface MSGraphGroupRemoveFavoriteRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphGroupRemoveFavoriteRequest *)request; 14 | 15 | - (MSGraphGroupRemoveFavoriteRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupRemoveFavoriteRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphGroupRemoveFavoriteRequestBuilder 9 | 10 | - (MSGraphGroupRemoveFavoriteRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphGroupRemoveFavoriteRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphGroupRemoveFavoriteRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupResetUnseenCountRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphGroupResetUnseenCountRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupResetUnseenCountRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphGroupResetUnseenCountRequest; 10 | 11 | @interface MSGraphGroupResetUnseenCountRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphGroupResetUnseenCountRequest *)request; 14 | 15 | - (MSGraphGroupResetUnseenCountRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupResetUnseenCountRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphGroupResetUnseenCountRequestBuilder 9 | 10 | - (MSGraphGroupResetUnseenCountRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphGroupResetUnseenCountRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphGroupResetUnseenCountRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupSubscribeByMailRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphGroupSubscribeByMailRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupSubscribeByMailRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphGroupSubscribeByMailRequest; 10 | 11 | @interface MSGraphGroupSubscribeByMailRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphGroupSubscribeByMailRequest *)request; 14 | 15 | - (MSGraphGroupSubscribeByMailRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupSubscribeByMailRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphGroupSubscribeByMailRequestBuilder 9 | 10 | - (MSGraphGroupSubscribeByMailRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphGroupSubscribeByMailRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphGroupSubscribeByMailRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupThreadsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphGroupThreadsCollectionRequest, MSGraphConversationThreadRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphGroupThreadsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphGroupThreadsCollectionRequest *)request; 15 | 16 | - (MSGraphGroupThreadsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphConversationThreadRequestBuilder *)conversationThread:(NSString *)conversationThread; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupUnsubscribeByMailRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphGroupUnsubscribeByMailRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupUnsubscribeByMailRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphGroupUnsubscribeByMailRequest; 10 | 11 | @interface MSGraphGroupUnsubscribeByMailRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphGroupUnsubscribeByMailRequest *)request; 14 | 15 | - (MSGraphGroupUnsubscribeByMailRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphGroupUnsubscribeByMailRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphGroupUnsubscribeByMailRequestBuilder 9 | 10 | - (MSGraphGroupUnsubscribeByMailRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphGroupUnsubscribeByMailRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphGroupUnsubscribeByMailRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphItemAttachmentRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphItemAttachmentRequest, MSGraphOutlookItemRequestBuilder, MSGraphItemRequestBuilder; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphAttachmentRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphItemAttachmentRequestBuilder : MSGraphAttachmentRequestBuilder 13 | 14 | - (MSGraphOutlookItemRequestBuilder *) item; 15 | 16 | 17 | - (MSGraphItemAttachmentRequest *) request; 18 | 19 | - (MSGraphItemAttachmentRequest *) requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderChildFoldersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphMailFolderChildFoldersCollectionRequest, MSGraphMailFolderRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphMailFolderChildFoldersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphMailFolderChildFoldersCollectionRequest *)request; 15 | 16 | - (MSGraphMailFolderChildFoldersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphMailFolderRequestBuilder *)mailFolder:(NSString *)mailFolder; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderCopyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMailFolderCopyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMailFolder *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderCopyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMailFolderCopyRequest; 10 | 11 | @interface MSGraphMailFolderCopyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMailFolderCopyRequest *)request; 16 | 17 | - (MSGraphMailFolderCopyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderMessagesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphMailFolderMessagesCollectionRequest, MSGraphMessageRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphMailFolderMessagesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphMailFolderMessagesCollectionRequest *)request; 15 | 16 | - (MSGraphMailFolderMessagesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphMessageRequestBuilder *)message:(NSString *)message; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderMoveRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMailFolderMoveRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMailFolder *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMailFolderMoveRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMailFolderMoveRequest; 10 | 11 | @interface MSGraphMailFolderMoveRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMailFolderMoveRequest *)request; 16 | 17 | - (MSGraphMailFolderMoveRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageAttachmentsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphMessageAttachmentsCollectionRequest, MSGraphAttachmentRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphMessageAttachmentsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphMessageAttachmentsCollectionRequest *)request; 15 | 16 | - (MSGraphMessageAttachmentsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphAttachmentRequestBuilder *)attachment:(NSString *)attachment; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCopyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageCopyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMessage *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCopyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageCopyRequest; 10 | 11 | @interface MSGraphMessageCopyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMessageCopyRequest *)request; 16 | 17 | - (MSGraphMessageCopyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateForwardRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageCreateForwardRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMessage *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateForwardRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageCreateForwardRequest; 10 | 11 | @interface MSGraphMessageCreateForwardRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphMessageCreateForwardRequest *)request; 14 | 15 | - (MSGraphMessageCreateForwardRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateForwardRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphMessageCreateForwardRequestBuilder 9 | 10 | - (MSGraphMessageCreateForwardRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphMessageCreateForwardRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphMessageCreateForwardRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyAllRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageCreateReplyAllRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMessage *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyAllRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageCreateReplyAllRequest; 10 | 11 | @interface MSGraphMessageCreateReplyAllRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphMessageCreateReplyAllRequest *)request; 14 | 15 | - (MSGraphMessageCreateReplyAllRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyAllRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphMessageCreateReplyAllRequestBuilder 9 | 10 | - (MSGraphMessageCreateReplyAllRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphMessageCreateReplyAllRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphMessageCreateReplyAllRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageCreateReplyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMessage *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageCreateReplyRequest; 10 | 11 | @interface MSGraphMessageCreateReplyRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphMessageCreateReplyRequest *)request; 14 | 15 | - (MSGraphMessageCreateReplyRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageCreateReplyRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphMessageCreateReplyRequestBuilder 9 | 10 | - (MSGraphMessageCreateReplyRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphMessageCreateReplyRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphMessageCreateReplyRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageForwardRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageForwardRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment toRecipients:(NSArray *)toRecipients URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageForwardRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageForwardRequest; 10 | 11 | @interface MSGraphMessageForwardRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment toRecipients:(NSArray *)toRecipients URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMessageForwardRequest *)request; 16 | 17 | - (MSGraphMessageForwardRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageMoveRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageMoveRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphMessage *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageMoveRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageMoveRequest; 10 | 11 | @interface MSGraphMessageMoveRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithDestinationId:(NSString *)destinationId URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMessageMoveRequest *)request; 16 | 17 | - (MSGraphMessageMoveRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageReplyAllRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageReplyAllRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageReplyAllRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageReplyAllRequest; 10 | 11 | @interface MSGraphMessageReplyAllRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMessageReplyAllRequest *)request; 16 | 17 | - (MSGraphMessageReplyAllRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageReplyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageReplyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageReplyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageReplyRequest; 10 | 11 | @interface MSGraphMessageReplyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphMessageReplyRequest *)request; 16 | 17 | - (MSGraphMessageReplyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageSendRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphMessageSendRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | 14 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageSendRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphMessageSendRequest; 10 | 11 | @interface MSGraphMessageSendRequestBuilder : MSRequestBuilder 12 | 13 | - (MSGraphMessageSendRequest *)request; 14 | 15 | - (MSGraphMessageSendRequest *)requestWithOptions:(NSArray *)options; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphMessageSendRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | 8 | @implementation MSGraphMessageSendRequestBuilder 9 | 10 | - (MSGraphMessageSendRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphMessageSendRequest *)requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphMessageSendRequest alloc] initWithURL:self.requestURL client:self.client]; 18 | } 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOrganizationRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphOrganizationRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphOrganization *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphOrganization *)organization withCompletion:(void (^)(MSGraphOrganization *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOrganizationRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphOrganizationRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphDirectoryObjectRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphOrganizationRequestBuilder : MSGraphDirectoryObjectRequestBuilder 13 | 14 | 15 | - (MSGraphOrganizationRequest *) request; 16 | 17 | - (MSGraphOrganizationRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOrganizationRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphOrganizationRequestBuilder 8 | 9 | 10 | - (MSGraphOrganizationRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphOrganizationRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphOrganizationRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOutlookItemRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphOutlookItemRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphOutlookItem *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphOutlookItem *)outlookItem withCompletion:(void (^)(MSGraphOutlookItem *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOutlookItemRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphOutlookItemRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphEntityRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphOutlookItemRequestBuilder : MSGraphEntityRequestBuilder 13 | 14 | 15 | - (MSGraphOutlookItemRequest *) request; 16 | 17 | - (MSGraphOutlookItemRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphOutlookItemRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphOutlookItemRequestBuilder 8 | 9 | 10 | - (MSGraphOutlookItemRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphOutlookItemRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphOutlookItemRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPermissionRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphPermissionRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphPermission *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphPermission *)permission withCompletion:(void (^)(MSGraphPermission *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPermissionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphPermissionRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphEntityRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphPermissionRequestBuilder : MSGraphEntityRequestBuilder 13 | 14 | 15 | - (MSGraphPermissionRequest *) request; 16 | 17 | - (MSGraphPermissionRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPermissionRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphPermissionRequestBuilder 8 | 9 | 10 | - (MSGraphPermissionRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphPermissionRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphPermissionRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPostAttachmentsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphPostAttachmentsCollectionRequest, MSGraphAttachmentRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphPostAttachmentsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphPostAttachmentsCollectionRequest *)request; 15 | 16 | - (MSGraphPostAttachmentsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphAttachmentRequestBuilder *)attachment:(NSString *)attachment; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPostForwardRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphPostForwardRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithComment:(NSString *)comment toRecipients:(NSArray *)toRecipients URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPostForwardRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphPostForwardRequest; 10 | 11 | @interface MSGraphPostForwardRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithComment:(NSString *)comment toRecipients:(NSArray *)toRecipients URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphPostForwardRequest *)request; 16 | 17 | - (MSGraphPostForwardRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPostReplyRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphPostReplyRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithPost:(MSGraphPost *)post URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphPostReplyRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphPostReplyRequest; 10 | 11 | @interface MSGraphPostReplyRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithPost:(MSGraphPost *)post URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphPostReplyRequest *)request; 16 | 17 | - (MSGraphPostReplyRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphProfilePhotoRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphProfilePhotoRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphProfilePhoto *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphProfilePhoto *)profilePhoto withCompletion:(void (^)(MSGraphProfilePhoto *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphProfilePhotoRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphProfilePhotoRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphEntityRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphProfilePhotoRequestBuilder : MSGraphEntityRequestBuilder 13 | 14 | 15 | - (MSGraphProfilePhotoRequest *) request; 16 | 17 | - (MSGraphProfilePhotoRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphProfilePhotoRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphProfilePhotoRequestBuilder 8 | 9 | 10 | - (MSGraphProfilePhotoRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphProfilePhotoRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphProfilePhotoRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphReferenceAttachmentRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphReferenceAttachmentRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphAttachmentRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphReferenceAttachmentRequestBuilder : MSGraphAttachmentRequestBuilder 13 | 14 | 15 | - (MSGraphReferenceAttachmentRequest *) request; 16 | 17 | - (MSGraphReferenceAttachmentRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphReferenceAttachmentRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphReferenceAttachmentRequestBuilder 8 | 9 | 10 | - (MSGraphReferenceAttachmentRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphReferenceAttachmentRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphReferenceAttachmentRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphSubscribedSkuRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphSubscribedSkuRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphSubscribedSku *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphSubscribedSku *)subscribedSku withCompletion:(void (^)(MSGraphSubscribedSku *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphSubscribedSkuRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphSubscribedSkuRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSGraphEntityRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphSubscribedSkuRequestBuilder : MSGraphEntityRequestBuilder 13 | 14 | 15 | - (MSGraphSubscribedSkuRequest *) request; 16 | 17 | - (MSGraphSubscribedSkuRequest *) requestWithOptions:(NSArray *)options; 18 | 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphSubscribedSkuRequestBuilder.m: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | 7 | @implementation MSGraphSubscribedSkuRequestBuilder 8 | 9 | 10 | - (MSGraphSubscribedSkuRequest *)request 11 | { 12 | return [self requestWithOptions:nil]; 13 | } 14 | 15 | - (MSGraphSubscribedSkuRequest *) requestWithOptions:(NSArray *)options 16 | { 17 | return [[MSGraphSubscribedSkuRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 18 | } 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphThumbnailRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphThumbnailRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphThumbnail *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphThumbnail *)thumbnail withCompletion:(void (^)(MSGraphThumbnail *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphThumbnailRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSGraphThumbnailRequest, MSGraphThumbnailContentRequest; 6 | 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSRequestBuilder.h" 10 | 11 | 12 | @interface MSGraphThumbnailRequestBuilder : MSRequestBuilder 13 | 14 | - (MSGraphThumbnailContentRequest *) contentRequestWithOptions:(NSArray *)options; 15 | 16 | - (MSGraphThumbnailContentRequest *) contentRequest; 17 | 18 | 19 | - (MSGraphThumbnailRequest *) request; 20 | 21 | - (MSGraphThumbnailRequest *) requestWithOptions:(NSArray *)options; 22 | 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphThumbnailSetRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | #import "MSGraphModels.h" 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphThumbnailSetRequest : MSRequest 10 | 11 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphThumbnailSet *response, NSError *error))completionHandler; 12 | 13 | - (MSURLSessionDataTask *)update:(MSGraphThumbnailSet *)thumbnailSet withCompletion:(void (^)(MSGraphThumbnailSet *response, NSError *error))completionHandler; 14 | 15 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserAssignLicenseRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphUserAssignLicenseRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithAddLicenses:(NSArray *)addLicenses removeLicenses:(NSArray *)removeLicenses URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSGraphUser *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserAssignLicenseRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphUserAssignLicenseRequest; 10 | 11 | @interface MSGraphUserAssignLicenseRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithAddLicenses:(NSArray *)addLicenses removeLicenses:(NSArray *)removeLicenses URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphUserAssignLicenseRequest *)request; 16 | 17 | - (MSGraphUserAssignLicenseRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserCalendarGroupsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserCalendarGroupsCollectionRequest, MSGraphCalendarGroupRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserCalendarGroupsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserCalendarGroupsCollectionRequest *)request; 15 | 16 | - (MSGraphUserCalendarGroupsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphCalendarGroupRequestBuilder *)calendarGroup:(NSString *)calendarGroup; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserCalendarViewCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserCalendarViewCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserCalendarViewCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserCalendarViewCollectionRequest *)request; 15 | 16 | - (MSGraphUserCalendarViewCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserCalendarsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserCalendarsCollectionRequest, MSGraphCalendarRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserCalendarsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserCalendarsCollectionRequest *)request; 15 | 16 | - (MSGraphUserCalendarsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphCalendarRequestBuilder *)calendar:(NSString *)calendar; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserChangePasswordRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphUserChangePasswordRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithCurrentPassword:(NSString *)currentPassword newPassword:(NSString *)newPassword URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserChangePasswordRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphUserChangePasswordRequest; 10 | 11 | @interface MSGraphUserChangePasswordRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithCurrentPassword:(NSString *)currentPassword newPassword:(NSString *)newPassword URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphUserChangePasswordRequest *)request; 16 | 17 | - (MSGraphUserChangePasswordRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserContactFoldersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserContactFoldersCollectionRequest, MSGraphContactFolderRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserContactFoldersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserContactFoldersCollectionRequest *)request; 15 | 16 | - (MSGraphUserContactFoldersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphContactFolderRequestBuilder *)contactFolder:(NSString *)contactFolder; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserContactsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserContactsCollectionRequest, MSGraphContactRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserContactsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserContactsCollectionRequest *)request; 15 | 16 | - (MSGraphUserContactsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphContactRequestBuilder *)contact:(NSString *)contact; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserEventsCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserEventsCollectionRequest, MSGraphEventRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserEventsCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserEventsCollectionRequest *)request; 15 | 16 | - (MSGraphUserEventsCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphEventRequestBuilder *)event:(NSString *)event; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserMailFoldersCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserMailFoldersCollectionRequest, MSGraphMailFolderRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserMailFoldersCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserMailFoldersCollectionRequest *)request; 15 | 16 | - (MSGraphUserMailFoldersCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphMailFolderRequestBuilder *)mailFolder:(NSString *)mailFolder; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserMemberOfCollectionReferencesRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | @class MSGraphUserMemberOfCollectionReferencesRequest, MSGraphDirectoryObjectRequestBuilder; 7 | 8 | #import "MSGraphModels.h" 9 | #import "MSCollectionRequestBuilder.h" 10 | 11 | #import "MSGraphUserMemberOfCollectionReferencesRequestBuilder.h" 12 | 13 | 14 | 15 | @interface MSGraphUserMemberOfCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 16 | 17 | - (MSGraphUserMemberOfCollectionReferencesRequest *)request; 18 | 19 | - (MSGraphUserMemberOfCollectionReferencesRequest *)requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserMemberOfCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphUserMemberOfCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphUserMemberOfCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphUserMemberOfCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphUserMemberOfCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserMessagesCollectionRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | @class MSGraphUserMessagesCollectionRequest, MSGraphMessageRequestBuilder; 5 | 6 | #import "MSGraphModels.h" 7 | #import "MSCollectionRequestBuilder.h" 8 | 9 | 10 | 11 | 12 | @interface MSGraphUserMessagesCollectionRequestBuilder : MSCollectionRequestBuilder 13 | 14 | - (MSGraphUserMessagesCollectionRequest *)request; 15 | 16 | - (MSGraphUserMessagesCollectionRequest *)requestWithOptions:(NSArray *)options; 17 | 18 | - (MSGraphMessageRequestBuilder *)message:(NSString *)message; 19 | 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserOwnedDevicesCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphUserOwnedDevicesCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphUserOwnedDevicesCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphUserOwnedDevicesCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphUserOwnedDevicesCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserOwnedObjectsCollectionReferencesRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphUserOwnedObjectsCollectionReferencesRequestBuilder : MSCollectionRequestBuilder 10 | 11 | - (MSGraphUserOwnedObjectsCollectionReferencesRequest*) request 12 | { 13 | return [self requestWithOptions:nil]; 14 | } 15 | 16 | - (MSGraphUserOwnedObjectsCollectionReferencesRequest *)requestWithOptions:(NSArray *)options 17 | { 18 | return [[MSGraphUserOwnedObjectsCollectionReferencesRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 19 | } 20 | 21 | @end 22 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserReferenceRequest.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphUserReferenceRequest : MSRequest 11 | 12 | 13 | 14 | - (MSURLSessionDataTask *)deleteWithCompletion:(void(^)(NSError *error))completionHandler; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserReferenceRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | @class MSGraphUserReferenceRequest; 8 | 9 | 10 | #import "MSGraphModels.h" 11 | #import "MSRequestBuilder.h" 12 | 13 | 14 | @interface MSGraphUserReferenceRequestBuilder : MSRequestBuilder 15 | 16 | 17 | - (MSGraphUserReferenceRequest *) request; 18 | 19 | - (MSGraphUserReferenceRequest *) requestWithOptions:(NSArray *)options; 20 | 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserReferenceRequestBuilder.m: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphODataEntities.h" 8 | 9 | @implementation MSGraphUserReferenceRequestBuilder 10 | 11 | 12 | - (MSGraphUserReferenceRequest *)request 13 | { 14 | return [self requestWithOptions:nil]; 15 | } 16 | 17 | - (MSGraphUserReferenceRequest *) requestWithOptions:(NSArray *)options 18 | { 19 | return [[MSGraphUserReferenceRequest alloc] initWithURL:self.requestURL options:options client:self.client]; 20 | } 21 | 22 | 23 | @end 24 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserReminderViewRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSCollectionRequest.h" 8 | 9 | @interface MSGraphUserReminderViewRequest : MSCollectionRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithStartDateTime:(NSString *)startDateTime endDateTime:(NSString *)endDateTime URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(MSCollection *response, MSGraphUserReminderViewRequest *nextRequest, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserReminderViewRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphUserReminderViewRequest; 10 | 11 | @interface MSGraphUserReminderViewRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithStartDateTime:(NSString *)startDateTime endDateTime:(NSString *)endDateTime URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphUserReminderViewRequest *)request; 16 | 17 | - (MSGraphUserReminderViewRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserSendMailRequest.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | @class MSURLSessionDataTask; 6 | 7 | #import "MSRequest.h" 8 | 9 | @interface MSGraphUserSendMailRequest : MSRequest 10 | 11 | @property (readonly) NSMutableURLRequest *mutableRequest; 12 | 13 | - (instancetype)initWithMessage:(MSGraphMessage *)message saveToSentItems:(BOOL)saveToSentItems URL:(NSURL *)url options:(NSArray *)options client:(ODataBaseClient*)client; 14 | 15 | - (MSURLSessionDataTask *)executeWithCompletion:(void (^)(NSDictionary *response, NSError *error))completionHandler; 16 | 17 | @end 18 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserSendMailRequestBuilder.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | 4 | 5 | #import "MSGraphODataEntities.h" 6 | #import "MSGraphModels.h" 7 | #import "MSRequestBuilder.h" 8 | 9 | @class MSGraphUserSendMailRequest; 10 | 11 | @interface MSGraphUserSendMailRequestBuilder : MSRequestBuilder 12 | 13 | - (instancetype)initWithMessage:(MSGraphMessage *)message saveToSentItems:(BOOL)saveToSentItems URL:(NSURL *)url client:(ODataBaseClient*)client; 14 | 15 | - (MSGraphUserSendMailRequest *)request; 16 | 17 | - (MSGraphUserSendMailRequest *)requestWithOptions:(NSArray *)options; 18 | 19 | @end 20 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserWithReferenceRequest.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | #import "MSGraphModels.h" 8 | #import "MSRequest.h" 9 | 10 | @interface MSGraphUserWithReferenceRequest : MSRequest 11 | 12 | - (MSURLSessionDataTask *)getWithCompletion:(void (^)(MSGraphUser *response, NSError *error))completionHandler; 13 | 14 | 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphCoreSDK/requests/MSGraphUserWithReferenceRequestBuilder.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 4 | 5 | 6 | 7 | @class MSGraphUserWithReferenceRequest; 8 | 9 | 10 | #import "MSGraphModels.h" 11 | #import "MSRequestBuilder.h" 12 | 13 | #import "MSGraphUserReferenceRequestBuilder.h" 14 | 15 | @interface MSGraphUserWithReferenceRequestBuilder : MSRequestBuilder 16 | 17 | 18 | - (MSGraphUserWithReferenceRequest *) request; 19 | 20 | - (MSGraphUserWithReferenceRequest *) requestWithOptions:(NSArray *)options; 21 | 22 | - (MSGraphUserReferenceRequestBuilder *) reference; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphSDK.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #ifndef MSSDK_h 4 | #define MSSDK_h 5 | 6 | #import "MSAuthenticationProvider.h" 7 | #import "MSHttpProvider.h" 8 | #import "MSURLSessionManager.h" 9 | #import "MSLogger.h" 10 | #import "MSGraphCoreSDK.h" 11 | 12 | #import "NSError+MSGraphSDK.h" 13 | #import "MSGraphClient+DefaultConfiguration.h" 14 | #import "MSGraphClientConfiguration+DefaultConfiguration.h" 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphSDK.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /MSGraphSDK/MSGraphSDK/MSBlockAuthenticationProvider.h: -------------------------------------------------------------------------------- 1 | // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. 2 | 3 | #import 4 | #import "MSAuthenticationProvider.h" 5 | 6 | typedef void (^MSAuthenticationBlock) (NSMutableURLRequest *request, MSAuthenticationCompletion completion); 7 | 8 | @interface MSBlockAuthenticationProvider : NSObject 9 | 10 | + (MSBlockAuthenticationProvider*)providerWithBlock:(MSAuthenticationBlock)block; 11 | 12 | @end 13 | -------------------------------------------------------------------------------- /MSGraphSDK/Podfile: -------------------------------------------------------------------------------- 1 | # Uncomment this line to define a global platform for your project 2 | # platform :ios, '6.0' 3 | 4 | target 'MSGraphSDK' do 5 | 6 | end 7 | target 'MSGraphSDKTests' do 8 | pod 'OCMock' 9 | end 10 | 11 | --------------------------------------------------------------------------------