Skip to content

Commit 58f8dd9

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
update v1 client and cmdlets
1 parent 0f871c8 commit 58f8dd9

306 files changed

Lines changed: 16405 additions & 157 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/Applications/wrapper/v1.0/Client/Models/Application.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public partial class Application : global::Microsoft.Graph.PowerShell.Applicatio
6060
#else
6161
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.AppRole> AppRoles { get; set; }
6262
#endif
63-
/// <summary>The authenticationBehaviors property</summary>
63+
/// <summary>The set of breaking change behaviors related to token issuance that are configured for the application. Authentication behaviors are unset by default (null) and must be explicitly enabled or disabled. Nullable. Returned only on $select. Requires $select to retrieve. For more information about authentication behaviors, see Manage application authenticationBehaviors.</summary>
6464
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
6565
#nullable enable
6666
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.AuthenticationBehaviors? AuthenticationBehaviors { get; set; }

‎src/Applications/wrapper/v1.0/Client/Models/AuthenticationBehaviors.cs‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ public partial class AuthenticationBehaviors : IAdditionalDataHolder, IParsable
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>The blockAzureADGraphAccess property</summary>
17+
/// <summary>If false, allows the app to have extended access to Azure AD Graph until August 31, 2025 when Azure AD Graph is fully retired. For more information on Azure AD retirement updates, see June 2024 update on Azure AD Graph API retirement.</summary>
1818
public bool? BlockAzureADGraphAccess { get; set; }
19+
/// <summary>Indicates whether Cross-Origin-Opener-Policy (COOP) headers are enforced on browser-based authentication responses for the application. Set to true to enable enforcement, false to temporarily suppress enforcement, or null to use the service default. For how-to guidance, see Control Cross-Origin-Opener-Policy enforcement.</summary>
20+
public bool? CoopEnforcement { get; set; }
1921
/// <summary>The OdataType property</summary>
2022
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
2123
#nullable enable
@@ -24,9 +26,9 @@ public partial class AuthenticationBehaviors : IAdditionalDataHolder, IParsable
2426
#else
2527
public string OdataType { get; set; }
2628
#endif
27-
/// <summary>The removeUnverifiedEmailClaim property</summary>
29+
/// <summary>If true, removes the email claim from tokens sent to an application when the email address&apos;s domain can&apos;t be verified.</summary>
2830
public bool? RemoveUnverifiedEmailClaim { get; set; }
29-
/// <summary>The requireClientServicePrincipal property</summary>
31+
/// <summary>If true, requires multitenant applications to have a service principal in the resource tenant as part of authorization checks before they&apos;re granted access tokens. This property is only modifiable for multitenant resource applications that rely on access from clients without a service principal and had this behavior as set to false by Microsoft. Tenant administrators should respond to security advisories sent through Azure Health Service events and the Microsoft 365 message center.</summary>
3032
public bool? RequireClientServicePrincipal { get; set; }
3133
/// <summary>
3234
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.AuthenticationBehaviors"/> and sets the default values.
@@ -54,6 +56,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
5456
return new Dictionary<string, Action<IParseNode>>
5557
{
5658
{ "blockAzureADGraphAccess", n => { BlockAzureADGraphAccess = n.GetBoolValue(); } },
59+
{ "coopEnforcement", n => { CoopEnforcement = n.GetBoolValue(); } },
5760
{ "@odata.type", n => { OdataType = n.GetStringValue(); } },
5861
{ "removeUnverifiedEmailClaim", n => { RemoveUnverifiedEmailClaim = n.GetBoolValue(); } },
5962
{ "requireClientServicePrincipal", n => { RequireClientServicePrincipal = n.GetBoolValue(); } },
@@ -67,6 +70,7 @@ public virtual void Serialize(ISerializationWriter writer)
6770
{
6871
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
6972
writer.WriteBoolValue("blockAzureADGraphAccess", BlockAzureADGraphAccess);
73+
writer.WriteBoolValue("coopEnforcement", CoopEnforcement);
7074
writer.WriteStringValue("@odata.type", OdataType);
7175
writer.WriteBoolValue("removeUnverifiedEmailClaim", RemoveUnverifiedEmailClaim);
7276
writer.WriteBoolValue("requireClientServicePrincipal", RequireClientServicePrincipal);

‎src/Applications/wrapper/v1.0/Client/Models/Entity.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ public Entity()
154154
"#microsoft.graph.messageRule" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MessageRule(),
155155
"#microsoft.graph.microsoftAuthenticatorAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MicrosoftAuthenticatorAuthenticationMethod(),
156156
"#microsoft.graph.multiValueLegacyExtendedProperty" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty(),
157+
"#microsoft.graph.note" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note(),
157158
"#microsoft.graph.notebook" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Notebook(),
158159
"#microsoft.graph.oAuth2PermissionGrant" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant(),
159160
"#microsoft.graph.offerShiftRequest" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OfferShiftRequest(),

‎src/Applications/wrapper/v1.0/Client/Models/Group.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public partial class Group : global::Microsoft.Graph.PowerShell.Applications.Cli
264264
#else
265265
public string OnPremisesDomainName { get; set; }
266266
#endif
267-
/// <summary>The onPremisesExtensionAttributes property</summary>
267+
/// <summary>Complex type containing extension attributes 1-15 for the group, synchronized from on-premises Active Directory. Returned only on $select. Supports $filter (eq, ne, not, in).</summary>
268268
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
269269
#nullable enable
270270
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.OnPremisesExtensionAttributes? OnPremisesExtensionAttributes { get; set; }
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
// <auto-generated/>
2+
#pragma warning disable CS0618
3+
using Microsoft.Kiota.Abstractions.Extensions;
4+
using Microsoft.Kiota.Abstractions.Serialization;
5+
using System.Collections.Generic;
6+
using System.IO;
7+
using System;
8+
namespace Microsoft.Graph.PowerShell.Applications.Client.Models
9+
{
10+
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
11+
#pragma warning disable CS1591
12+
public partial class Note : global::Microsoft.Graph.PowerShell.Applications.Client.Models.OutlookItem, IParsable
13+
#pragma warning restore CS1591
14+
{
15+
/// <summary>The file attachments for the note. Only inline image attachments (image/png, image/jpeg, image/gif, or image/bmp) are supported, with a maximum size of 3 MB per attachment. Use $expand to retrieve attachments.</summary>
16+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
17+
#nullable enable
18+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>? Attachments { get; set; }
19+
#nullable restore
20+
#else
21+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment> Attachments { get; set; }
22+
#endif
23+
/// <summary>The content of the note. Supports text or html content types.</summary>
24+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
25+
#nullable enable
26+
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody? Body { get; set; }
27+
#nullable restore
28+
#else
29+
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody Body { get; set; }
30+
#endif
31+
/// <summary>Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only.</summary>
32+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
33+
#nullable enable
34+
public string? BodyPreview { get; private set; }
35+
#nullable restore
36+
#else
37+
public string BodyPreview { get; private set; }
38+
#endif
39+
/// <summary>The collection of open extensions defined for the note.</summary>
40+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
41+
#nullable enable
42+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>? Extensions { get; set; }
43+
#nullable restore
44+
#else
45+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension> Extensions { get; set; }
46+
#endif
47+
/// <summary>Indicates whether the note has file attachments. Supports $filter (eq). Read-only.</summary>
48+
public bool? HasAttachments { get; private set; }
49+
/// <summary>Indicates whether the note is soft-deleted. Read-only.</summary>
50+
public bool? IsDeleted { get; private set; }
51+
/// <summary>The collection of multi-value extended properties defined for the note.</summary>
52+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
53+
#nullable enable
54+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>? MultiValueExtendedProperties { get; set; }
55+
#nullable restore
56+
#else
57+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty> MultiValueExtendedProperties { get; set; }
58+
#endif
59+
/// <summary>The collection of single-value extended properties defined for the note.</summary>
60+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
61+
#nullable enable
62+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>? SingleValueExtendedProperties { get; set; }
63+
#nullable restore
64+
#else
65+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty> SingleValueExtendedProperties { get; set; }
66+
#endif
67+
/// <summary>The title of the note. Supports $filter (eq, ne, startsWith) and $orderby.</summary>
68+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
69+
#nullable enable
70+
public string? Subject { get; set; }
71+
#nullable restore
72+
#else
73+
public string Subject { get; set; }
74+
#endif
75+
/// <summary>
76+
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note"/> and sets the default values.
77+
/// </summary>
78+
public Note() : base()
79+
{
80+
OdataType = "#microsoft.graph.note";
81+
}
82+
/// <summary>
83+
/// Creates a new instance of the appropriate class based on discriminator value
84+
/// </summary>
85+
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note"/></returns>
86+
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
87+
public static new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note CreateFromDiscriminatorValue(IParseNode parseNode)
88+
{
89+
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
90+
return new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note();
91+
}
92+
/// <summary>
93+
/// The deserialization information for the current model
94+
/// </summary>
95+
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
96+
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
97+
{
98+
return new Dictionary<string, Action<IParseNode>>(base.GetFieldDeserializers())
99+
{
100+
{ "attachments", n => { Attachments = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment.CreateFromDiscriminatorValue)?.AsList(); } },
101+
{ "body", n => { Body = n.GetObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody.CreateFromDiscriminatorValue); } },
102+
{ "bodyPreview", n => { BodyPreview = n.GetStringValue(); } },
103+
{ "extensions", n => { Extensions = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension.CreateFromDiscriminatorValue)?.AsList(); } },
104+
{ "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } },
105+
{ "isDeleted", n => { IsDeleted = n.GetBoolValue(); } },
106+
{ "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } },
107+
{ "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } },
108+
{ "subject", n => { Subject = n.GetStringValue(); } },
109+
};
110+
}
111+
/// <summary>
112+
/// Serializes information the current object
113+
/// </summary>
114+
/// <param name="writer">Serialization writer to use to serialize this model</param>
115+
public override void Serialize(ISerializationWriter writer)
116+
{
117+
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
118+
base.Serialize(writer);
119+
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>("attachments", Attachments);
120+
writer.WriteObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody>("body", Body);
121+
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>("extensions", Extensions);
122+
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>("multiValueExtendedProperties", MultiValueExtendedProperties);
123+
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>("singleValueExtendedProperties", SingleValueExtendedProperties);
124+
writer.WriteStringValue("subject", Subject);
125+
}
126+
}
127+
}
128+
#pragma warning restore CS0618

‎src/Applications/wrapper/v1.0/Client/Models/OutlookItem.cs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ public partial class OutlookItem : global::Microsoft.Graph.PowerShell.Applicatio
4646
"#microsoft.graph.contact" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Contact(),
4747
"#microsoft.graph.event" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Event(),
4848
"#microsoft.graph.message" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message(),
49+
"#microsoft.graph.note" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note(),
4950
"#microsoft.graph.post" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Post(),
5051
_ => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OutlookItem(),
5152
};

‎src/Applications/wrapper/v1.0/Client/Models/User.cs‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,14 @@ public partial class User : global::Microsoft.Graph.PowerShell.Applications.Clie
561561
#nullable restore
562562
#else
563563
public string MySite { get; set; }
564+
#endif
565+
/// <summary>The notes in the user&apos;s Notes folder. Read-only. Nullable.</summary>
566+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
567+
#nullable enable
568+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>? Notes { get; set; }
569+
#nullable restore
570+
#else
571+
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note> Notes { get; set; }
564572
#endif
565573
/// <summary>The oauth2PermissionGrants property</summary>
566574
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -1104,6 +1112,7 @@ public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
11041112
{ "messages", n => { Messages = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } },
11051113
{ "mobilePhone", n => { MobilePhone = n.GetStringValue(); } },
11061114
{ "mySite", n => { MySite = n.GetStringValue(); } },
1115+
{ "notes", n => { Notes = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note.CreateFromDiscriminatorValue)?.AsList(); } },
11071116
{ "oauth2PermissionGrants", n => { Oauth2PermissionGrants = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } },
11081117
{ "officeLocation", n => { OfficeLocation = n.GetStringValue(); } },
11091118
{ "onPremisesDistinguishedName", n => { OnPremisesDistinguishedName = n.GetStringValue(); } },
@@ -1249,6 +1258,7 @@ public override void Serialize(ISerializationWriter writer)
12491258
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message>("messages", Messages);
12501259
writer.WriteStringValue("mobilePhone", MobilePhone);
12511260
writer.WriteStringValue("mySite", MySite);
1261+
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>("notes", Notes);
12521262
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant>("oauth2PermissionGrants", Oauth2PermissionGrants);
12531263
writer.WriteStringValue("officeLocation", OfficeLocation);
12541264
writer.WriteObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Onenote>("onenote", Onenote);

‎src/Applications/wrapper/v1.0/Client/kiota-lock.json‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"descriptionHash": "624A7B72246233217711E3656F22F551FF344C18E98CA4B609A294AA5B673A6BABE5FAA6579F71F449DB7B7B3A3D89FF6F25031C305117F10DF3E4DAFAD39649",
2+
"descriptionHash": "5DBBA6E50E4C5C7276DB5220A478B0CFA0A2B18340C648899888920B44CBE536D233CE95B612CD9ED13163B3CECFE86C8BD910FF486E016E43D979A540CC0CD0",
33
"descriptionLocation": "../../../../../openApiDocs_KiotaCompat/v1.0/Applications.yml",
44
"lockFileVersion": "1.0.0",
5-
"kiotaVersion": "1.32.2",
5+
"kiotaVersion": "1.34.1",
66
"clientClassName": "ApiClient",
77
"typeAccessModifier": "Public",
88
"clientNamespaceName": "Microsoft.Graph.PowerShell.Applications.Client",
@@ -30,5 +30,6 @@
3030
],
3131
"includePatterns": [],
3232
"excludePatterns": [],
33-
"disabledValidationRules": []
33+
"disabledValidationRules": [],
34+
"allowedExternalOrigins": []
3435
}

0 commit comments

Comments
 (0)