You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides.
36
+
* A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.
37
37
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
38
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
39
39
* @returns a Promise of InferenceClassificationOverrideCollectionResponse
40
-
* @see {@link https://docs.microsoft.com/graph/api/inferenceclassification-list-overrides?view=graph-rest-1.0|Find more info here}
@@ -46,12 +45,11 @@ export class OverridesRequestBuilder extends BaseRequestBuilder {
46
45
returnthis.requestAdapter?.sendAsync<InferenceClassificationOverrideCollectionResponse>(requestInfo,createInferenceClassificationOverrideCollectionResponseFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
47
46
};
48
47
/**
49
-
* Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. **Note**
48
+
* Create new navigation property to overrides for users
50
49
* @param body The request body
51
50
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
51
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
53
52
* @returns a Promise of InferenceClassificationOverride
54
-
* @see {@link https://docs.microsoft.com/graph/api/inferenceclassification-post-overrides?view=graph-rest-1.0|Find more info here}
if(!body)thrownewError("body cannot be undefined");
@@ -61,7 +59,7 @@ export class OverridesRequestBuilder extends BaseRequestBuilder {
61
59
returnthis.requestAdapter?.sendAsync<InferenceClassificationOverride>(requestInfo,createInferenceClassificationOverrideFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
62
60
};
63
61
/**
64
-
* Get the overrides that a user has set up to always classify messages from certain senders in specific ways. Each override corresponds to an SMTP address of a sender. Initially, a user does not have any overrides.
62
+
* A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.
65
63
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
64
* @returns a RequestInformation
67
65
*/
@@ -79,7 +77,7 @@ export class OverridesRequestBuilder extends BaseRequestBuilder {
79
77
returnrequestInfo;
80
78
};
81
79
/**
82
-
* Create an override for a sender identified by an SMTP address. Future messages from that SMTP address will be consistently classifiedas specified in the override. **Note**
80
+
* Create new navigation property to overrides for users
83
81
* @param body The request body
84
82
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* Get the folder collection under the specified folder. You can use the `.../me/mailFolders` shortcut to get the top-level folder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter _includeHiddenFolders_ to include them in the response.
36
+
* The collection of child foldersin the mailFolder.
37
37
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
38
38
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
39
39
* @returns a Promise of MailFolderCollectionResponse
40
-
* @see {@link https://docs.microsoft.com/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0|Find more info here}
@@ -46,12 +45,11 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder {
46
45
returnthis.requestAdapter?.sendAsync<MailFolderCollectionResponse>(requestInfo,createMailFolderCollectionResponseFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
47
46
};
48
47
/**
49
-
* Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation.
48
+
* Create new navigation property to childFolders for users
50
49
* @param body The request body
51
50
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
51
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
53
52
* @returns a Promise of MailFolder
54
-
* @see {@link https://docs.microsoft.com/graph/api/mailfolder-post-childfolders?view=graph-rest-1.0|Find more info here}
if(!body)thrownewError("body cannot be undefined");
@@ -61,7 +59,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder {
61
59
returnthis.requestAdapter?.sendAsync<MailFolder>(requestInfo,createMailFolderFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
62
60
};
63
61
/**
64
-
* Get the folder collection under the specified folder. You can use the `.../me/mailFolders` shortcut to get the top-level folder collection and navigate to another folder. By default, this operation does not return hidden folders. Use a query parameter _includeHiddenFolders_ to include them in the response.
62
+
* The collection of child foldersin the mailFolder.
65
63
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
64
* @returns a RequestInformation
67
65
*/
@@ -79,7 +77,7 @@ export class ChildFoldersRequestBuilder extends BaseRequestBuilder {
79
77
returnrequestInfo;
80
78
};
81
79
/**
82
-
* Use this API to create a new child mailFolder. If you intend a new folder to be hidden, you must set the **isHidden** property to `true` on creation.
80
+
* Create new navigation property to childFolders for users
83
81
* @param body The request body
84
82
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
Copy file name to clipboardexpand all lines: packages/test/generatedCode/users/item/mailFolders/item/childFolders/item/messageRules/messageRulesRequestBuilder.ts
@@ -46,12 +45,11 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder {
46
45
returnthis.requestAdapter?.sendAsync<MessageRuleCollectionResponse>(requestInfo,createMessageRuleCollectionResponseFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
47
46
};
48
47
/**
49
-
* Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions.
48
+
* Create new navigation property to messageRules for users
50
49
* @param body The request body
51
50
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
51
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
53
52
* @returns a Promise of MessageRule
54
-
* @see {@link https://docs.microsoft.com/graph/api/mailfolder-post-messagerules?view=graph-rest-1.0|Find more info here}
if(!body)thrownewError("body cannot be undefined");
@@ -61,7 +59,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder {
61
59
returnthis.requestAdapter?.sendAsync<MessageRule>(requestInfo,createMessageRuleFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
62
60
};
63
61
/**
64
-
* Get all the messageRule objects defined for the user's inbox.
62
+
* The collection of rules that apply to the user's Inbox folder.
65
63
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
64
* @returns a RequestInformation
67
65
*/
@@ -79,7 +77,7 @@ export class MessageRulesRequestBuilder extends BaseRequestBuilder {
79
77
returnrequestInfo;
80
78
};
81
79
/**
82
-
* Create a messageRule object by specifying a set of conditions and actions. Outlook carries out those actions if an incoming message in the user's Inbox meets the specified conditions.
80
+
* Create new navigation property to messageRules for users
83
81
* @param body The request body
84
82
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
Copy file name to clipboardexpand all lines: packages/test/generatedCode/users/item/mailFolders/item/childFolders/item/messages/item/attachments/attachmentsRequestBuilder.ts
* Gets an item from the github.com/microsoftgraph/msgraph-sdk-typescript/.users.item.mailFolders.item.childFolders.item.messages.item.attachments.item collection
17
+
* Gets an item from the ApiSdk.users.item.mailFolders.item.childFolders.item.messages.item.attachments.item collection
18
18
* @param attachmentId Unique identifier of the item
19
19
* @returns a AttachmentItemRequestBuilder
20
20
*/
@@ -33,11 +33,10 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder {
@@ -46,12 +45,11 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder {
46
45
returnthis.requestAdapter?.sendAsync<AttachmentCollectionResponse>(requestInfo,createAttachmentCollectionResponseFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
47
46
};
48
47
/**
49
-
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
48
+
* Create new navigation property to attachments for users
50
49
* @param body The request body
51
50
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
52
51
* @param responseHandler Response handler to use in place of the default response handling provided by the core service
53
52
* @returns a Promise of Attachment
54
-
* @see {@link https://docs.microsoft.com/graph/api/eventmessage-post-attachments?view=graph-rest-1.0|Find more info here}
if(!body)thrownewError("body cannot be undefined");
@@ -61,7 +59,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder {
61
59
returnthis.requestAdapter?.sendAsync<Attachment>(requestInfo,createAttachmentFromDiscriminatorValue,responseHandler,undefined)??Promise.reject(newError('request adapter is null'));
62
60
};
63
61
/**
64
-
* Retrieve a list of attachment objects.
62
+
* The fileAttachment and itemAttachment attachments for the message.
65
63
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
66
64
* @returns a RequestInformation
67
65
*/
@@ -79,7 +77,7 @@ export class AttachmentsRequestBuilder extends BaseRequestBuilder {
79
77
returnrequestInfo;
80
78
};
81
79
/**
82
-
* Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource.
80
+
* Create new navigation property to attachments for users
83
81
* @param body The request body
84
82
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
0 commit comments