Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public partial class Application : global::Microsoft.Graph.PowerShell.Applicatio
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.AppRole> AppRoles { get; set; }
#endif
/// <summary>The authenticationBehaviors property</summary>
/// <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>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.AuthenticationBehaviors? AuthenticationBehaviors { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ public partial class AuthenticationBehaviors : IAdditionalDataHolder, IParsable
{
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
public IDictionary<string, object> AdditionalData { get; set; }
/// <summary>The blockAzureADGraphAccess property</summary>
/// <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>
public bool? BlockAzureADGraphAccess { get; set; }
/// <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>
public bool? CoopEnforcement { get; set; }
/// <summary>The OdataType property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
Expand All @@ -24,9 +26,9 @@ public partial class AuthenticationBehaviors : IAdditionalDataHolder, IParsable
#else
public string OdataType { get; set; }
#endif
/// <summary>The removeUnverifiedEmailClaim property</summary>
/// <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>
public bool? RemoveUnverifiedEmailClaim { get; set; }
/// <summary>The requireClientServicePrincipal property</summary>
/// <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>
public bool? RequireClientServicePrincipal { get; set; }
/// <summary>
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.AuthenticationBehaviors"/> and sets the default values.
Expand Down Expand Up @@ -54,6 +56,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
return new Dictionary<string, Action<IParseNode>>
{
{ "blockAzureADGraphAccess", n => { BlockAzureADGraphAccess = n.GetBoolValue(); } },
{ "coopEnforcement", n => { CoopEnforcement = n.GetBoolValue(); } },
{ "@odata.type", n => { OdataType = n.GetStringValue(); } },
{ "removeUnverifiedEmailClaim", n => { RemoveUnverifiedEmailClaim = n.GetBoolValue(); } },
{ "requireClientServicePrincipal", n => { RequireClientServicePrincipal = n.GetBoolValue(); } },
Expand All @@ -67,6 +70,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
writer.WriteBoolValue("blockAzureADGraphAccess", BlockAzureADGraphAccess);
writer.WriteBoolValue("coopEnforcement", CoopEnforcement);
writer.WriteStringValue("@odata.type", OdataType);
writer.WriteBoolValue("removeUnverifiedEmailClaim", RemoveUnverifiedEmailClaim);
writer.WriteBoolValue("requireClientServicePrincipal", RequireClientServicePrincipal);
Expand Down
1 change: 1 addition & 0 deletions src/Applications/wrapper/v1.0/Client/Models/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ public Entity()
"#microsoft.graph.messageRule" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MessageRule(),
"#microsoft.graph.microsoftAuthenticatorAuthenticationMethod" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MicrosoftAuthenticatorAuthenticationMethod(),
"#microsoft.graph.multiValueLegacyExtendedProperty" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty(),
"#microsoft.graph.note" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note(),
"#microsoft.graph.notebook" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Notebook(),
"#microsoft.graph.oAuth2PermissionGrant" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant(),
"#microsoft.graph.offerShiftRequest" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OfferShiftRequest(),
Expand Down
2 changes: 1 addition & 1 deletion src/Applications/wrapper/v1.0/Client/Models/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public partial class Group : global::Microsoft.Graph.PowerShell.Applications.Cli
#else
public string OnPremisesDomainName { get; set; }
#endif
/// <summary>The onPremisesExtensionAttributes property</summary>
/// <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>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.OnPremisesExtensionAttributes? OnPremisesExtensionAttributes { get; set; }
Expand Down
128 changes: 128 additions & 0 deletions src/Applications/wrapper/v1.0/Client/Models/Note.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
// <auto-generated/>
#pragma warning disable CS0618
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
using System.Collections.Generic;
using System.IO;
using System;
namespace Microsoft.Graph.PowerShell.Applications.Client.Models
{
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
#pragma warning disable CS1591
public partial class Note : global::Microsoft.Graph.PowerShell.Applications.Client.Models.OutlookItem, IParsable
#pragma warning restore CS1591
{
/// <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>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>? Attachments { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment> Attachments { get; set; }
#endif
/// <summary>The content of the note. Supports text or html content types.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody? Body { get; set; }
#nullable restore
#else
public global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody Body { get; set; }
#endif
/// <summary>Auto-generated preview of the note body content (first ~255 characters, plain text). Read-only.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? BodyPreview { get; private set; }
#nullable restore
#else
public string BodyPreview { get; private set; }
#endif
/// <summary>The collection of open extensions defined for the note.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>? Extensions { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension> Extensions { get; set; }
#endif
/// <summary>Indicates whether the note has file attachments. Supports $filter (eq). Read-only.</summary>
public bool? HasAttachments { get; private set; }
/// <summary>Indicates whether the note is soft-deleted. Read-only.</summary>
public bool? IsDeleted { get; private set; }
/// <summary>The collection of multi-value extended properties defined for the note.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>? MultiValueExtendedProperties { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty> MultiValueExtendedProperties { get; set; }
#endif
/// <summary>The collection of single-value extended properties defined for the note.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>? SingleValueExtendedProperties { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty> SingleValueExtendedProperties { get; set; }
#endif
/// <summary>The title of the note. Supports $filter (eq, ne, startsWith) and $orderby.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Subject { get; set; }
#nullable restore
#else
public string Subject { get; set; }
#endif
/// <summary>
/// Instantiates a new <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note"/> and sets the default values.
/// </summary>
public Note() : base()
{
OdataType = "#microsoft.graph.note";
}
/// <summary>
/// Creates a new instance of the appropriate class based on discriminator value
/// </summary>
/// <returns>A <see cref="global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note"/></returns>
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
public static new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note CreateFromDiscriminatorValue(IParseNode parseNode)
{
if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
return new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note();
}
/// <summary>
/// The deserialization information for the current model
/// </summary>
/// <returns>A IDictionary&lt;string, Action&lt;IParseNode&gt;&gt;</returns>
public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{
return new Dictionary<string, Action<IParseNode>>(base.GetFieldDeserializers())
{
{ "attachments", n => { Attachments = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment.CreateFromDiscriminatorValue)?.AsList(); } },
{ "body", n => { Body = n.GetObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody.CreateFromDiscriminatorValue); } },
{ "bodyPreview", n => { BodyPreview = n.GetStringValue(); } },
{ "extensions", n => { Extensions = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension.CreateFromDiscriminatorValue)?.AsList(); } },
{ "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } },
{ "isDeleted", n => { IsDeleted = n.GetBoolValue(); } },
{ "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } },
{ "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.AsList(); } },
{ "subject", n => { Subject = n.GetStringValue(); } },
};
}
/// <summary>
/// Serializes information the current object
/// </summary>
/// <param name="writer">Serialization writer to use to serialize this model</param>
public override void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Attachment>("attachments", Attachments);
writer.WriteObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.ItemBody>("body", Body);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Extension>("extensions", Extensions);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.MultiValueLegacyExtendedProperty>("multiValueExtendedProperties", MultiValueExtendedProperties);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.SingleValueLegacyExtendedProperty>("singleValueExtendedProperties", SingleValueExtendedProperties);
writer.WriteStringValue("subject", Subject);
}
}
}
#pragma warning restore CS0618
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public partial class OutlookItem : global::Microsoft.Graph.PowerShell.Applicatio
"#microsoft.graph.contact" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Contact(),
"#microsoft.graph.event" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Event(),
"#microsoft.graph.message" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message(),
"#microsoft.graph.note" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note(),
"#microsoft.graph.post" => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.Post(),
_ => new global::Microsoft.Graph.PowerShell.Applications.Client.Models.OutlookItem(),
};
Expand Down
10 changes: 10 additions & 0 deletions src/Applications/wrapper/v1.0/Client/Models/User.cs
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,14 @@ public partial class User : global::Microsoft.Graph.PowerShell.Applications.Clie
#nullable restore
#else
public string MySite { get; set; }
#endif
/// <summary>The notes in the user&apos;s Notes folder. Read-only. Nullable.</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>? Notes { get; set; }
#nullable restore
#else
public List<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note> Notes { get; set; }
#endif
/// <summary>The oauth2PermissionGrants property</summary>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -1104,6 +1112,7 @@ public override IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
{ "messages", n => { Messages = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message.CreateFromDiscriminatorValue)?.AsList(); } },
{ "mobilePhone", n => { MobilePhone = n.GetStringValue(); } },
{ "mySite", n => { MySite = n.GetStringValue(); } },
{ "notes", n => { Notes = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note.CreateFromDiscriminatorValue)?.AsList(); } },
{ "oauth2PermissionGrants", n => { Oauth2PermissionGrants = n.GetCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant>(global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant.CreateFromDiscriminatorValue)?.AsList(); } },
{ "officeLocation", n => { OfficeLocation = n.GetStringValue(); } },
{ "onPremisesDistinguishedName", n => { OnPremisesDistinguishedName = n.GetStringValue(); } },
Expand Down Expand Up @@ -1249,6 +1258,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Message>("messages", Messages);
writer.WriteStringValue("mobilePhone", MobilePhone);
writer.WriteStringValue("mySite", MySite);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Note>("notes", Notes);
writer.WriteCollectionOfObjectValues<global::Microsoft.Graph.PowerShell.Applications.Client.Models.OAuth2PermissionGrant>("oauth2PermissionGrants", Oauth2PermissionGrants);
writer.WriteStringValue("officeLocation", OfficeLocation);
writer.WriteObjectValue<global::Microsoft.Graph.PowerShell.Applications.Client.Models.Onenote>("onenote", Onenote);
Expand Down
7 changes: 4 additions & 3 deletions src/Applications/wrapper/v1.0/Client/kiota-lock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"descriptionHash": "624A7B72246233217711E3656F22F551FF344C18E98CA4B609A294AA5B673A6BABE5FAA6579F71F449DB7B7B3A3D89FF6F25031C305117F10DF3E4DAFAD39649",
"descriptionHash": "5DBBA6E50E4C5C7276DB5220A478B0CFA0A2B18340C648899888920B44CBE536D233CE95B612CD9ED13163B3CECFE86C8BD910FF486E016E43D979A540CC0CD0",
"descriptionLocation": "../../../../../openApiDocs_KiotaCompat/v1.0/Applications.yml",
"lockFileVersion": "1.0.0",
"kiotaVersion": "1.32.2",
"kiotaVersion": "1.34.1",
"clientClassName": "ApiClient",
"typeAccessModifier": "Public",
"clientNamespaceName": "Microsoft.Graph.PowerShell.Applications.Client",
Expand Down Expand Up @@ -30,5 +30,6 @@
],
"includePatterns": [],
"excludePatterns": [],
"disabledValidationRules": []
"disabledValidationRules": [],
"allowedExternalOrigins": []
}
Loading
Loading