diff --git a/src/Teams/Teams.md b/src/Teams/Teams.md
index 6397e1ad1fb..08fdb9bd870 100644
--- a/src/Teams/Teams.md
+++ b/src/Teams/Teams.md
@@ -18,8 +18,18 @@ require:
``` yaml
directive:
# Remove invalid paths.
+# Wrapper migration: directive 1 is bridged from the COMPLETE original legacy
+# regex set (v1.0: 337; beta: 9), not from renamed compatible operation IDs.
+# Teams_directiveMigrationMap.json records every surviving exact operation.
+# Compatible IDs now align with the original complete selector sets; tests retain
+# kind-guarded final action/function source lineage. No removals are claimed.
+# Teams_cmdletConfigurations.cs preserves joinedTeams list and unrelated roots;
+# user.joinedTeam_GetCount matches the original regex and is suppressed.
- remove-path-by-operation: ^(team_GetGroup|user\.joinedTeam.*|user_(Get|Update|Delete|Create)JoinedTeam|.*_UpdateInstalledApp)$
# Remove cmdlets
+# Wrapper migration: directives 2-4 suppress only the selected verb and exact
+# message/reply/direct-hosted-content subjects. Reply hosted contents and group
+# navigations are not additional matches. TeamsDirectiveMigrationTests pins neighbors.
- where:
verb: Remove
subject: ^(Chat|TeamChannel|TeamPrimaryChannel)Message$
@@ -32,10 +42,24 @@ directive:
verb: Remove|Update
subject: ^(Chat|TeamChannel|TeamPrimaryChannel)MessageHostedContent$
remove: true
+# Wrapper migration: directive 5 suppresses the TeamDefinition node (beta only),
+# not its descendants: the original [A-Z]* suffix does not mean an arbitrary subtree.
- where:
subject: (.*)TeamworkTeamTemplateDefinitionTeamDefinition([A-Z]*)$
remove: true
# Rename AllChannel due to https://github.com/Azure/autorest.powershell/issues/1002.
+# Wrapper migration: directives 6-9 have exact compatible operation evidence in
+# the adjacent ledger. Curated fallbacks cover beta; existing v1.0 derived names
+# remain authoritative. Ordinary channels and non-GET message operations keep names.
+# Directive 9 includes the distinct getAllMessages() URL as well as list/item GET.
+# The function has a different request/response contract and is not a compatible
+# natural-ID variant. Its explicit noun is AllUserChatMessageAcrossChat, from
+# the source description "all messages from all chats"; ordinary List/Get remains.
+# Frozen v1 derived suppression still omits that function; no module rule prunes it.
+# This baseline limitation is not a faithful three-route/default or raw parity pass.
+# No OnlineMeetingTranscript/Recording subjects occur in either Teams spec.
+# Keep all shared AutoRest directives active. Profile-local readmes and
+# src/readme.graph.md are ignored; parameter/schema aliases/transforms are deferred.
- where:
verb: Get
subject: ^(TeamMessage|TeamworkDeletedTeamMessage)$
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 7542b855344..f89f9fbb8fc 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 1a1a21e1f4f..c099e27965b 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
index e6d24d60796..0a4c4a85174 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 618704b0e68..13918ca57ae 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 999f69d8f94..857ae3bc2f0 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index cdf02a00bb7..e2ed0c0faa8 100644
--- a/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Chats/Item/TargetedMessages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 50d31518bb0..0060acedb2e 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 5f3f0373d6f..ccd64536ec3 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
index 096a23b1064..434e5dad0b2 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 8a4491e04bf..8eed70ce890 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
index 9d8f57dc20a..742db07beb1 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/PlannerRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2;
using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
using Microsoft.Graph.PowerShell.Teams.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter);
}
+ /// The plans_v2 property
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2
+ {
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
new file mode 100644
index 00000000000..55e30fabc36
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry
+{
+ ///
+ /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans\{plannerPlan-id}\extendExpiry
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index 890d17f8721..1275c35160d 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -3,8 +3,8 @@
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Archive;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Buckets;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights;
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Tasks;
@@ -42,16 +42,16 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// The extendExpiry property
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry
+ {
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter);
+ }
/// The getUsageRights property
public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
- /// The goals property
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
- {
- get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
- }
/// The historyItems property
public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs
similarity index 73%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs
index efd9915dd78..0cf43efa356 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Count/CountRequestBuilder.cs
@@ -9,28 +9,28 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans\{plannerPlan-id}\goals\$count
+ /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans_v2\$count
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CountRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", pathParameters)
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", rawUrl)
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/$count{?%24filter,%24search}", rawUrl)
{
}
///
@@ -40,14 +40,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -62,14 +61,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -80,12 +78,11 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter);
}
///
/// Get the number of the resource
@@ -119,7 +116,7 @@ public partial class CountRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
similarity index 58%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
index bfb71d13abb..f12e2bf4641 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
@@ -10,45 +10,44 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans\{plannerPlan-id}\goals\{plannerGoal-id}
+ /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans_v2\{plan-id}
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ public partial class PlanItemRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", pathParameters)
+ public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl)
{
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
- /// A
+ /// A
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -56,21 +55,20 @@ public PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt
{
{ "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -81,18 +79,17 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ public partial class PlanItemRequestBuilderGetQueryParameters
{
/// Expand related entities
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -120,7 +117,7 @@ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs
similarity index 61%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs
index d6396fd8167..228c78cb10b 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/Channels/Item/Planner/Plans_v2/Plans_v2RequestBuilder.cs
@@ -1,7 +1,7 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count;
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item;
using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
using Microsoft.Graph.PowerShell.Teams.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -12,64 +12,61 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans\{plannerPlan-id}\goals
+ /// Builds and executes requests for operations under \groups\{group-id}\team\channels\{channel-id}\planner\plans_v2
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilder : BaseRequestBuilder
+ public partial class Plans_v2RequestBuilder : BaseRequestBuilder
{
/// The Count property
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder Count
{
- get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter);
}
- /// Gets an item from the Microsoft.Graph.PowerShell.Teams.Client.groups.item.team.channels.item.planner.plans.item.goals.item collection
+ /// Gets an item from the Microsoft.Graph.PowerShell.Teams.Client.groups.item.team.channels.item.planner.plans_v2.item collection
/// Unique identifier of the item
- /// A
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ /// A
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position]
{
get
{
var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("plannerGoal%2Did", position);
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(urlTplParams, RequestAdapter);
+ urlTplParams.Add("plan%2Did", position);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
{
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
- /// A
+ /// A
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -77,21 +74,20 @@ public GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
{
{ "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -102,18 +98,17 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.Channels.Item.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilderGetQueryParameters
+ public partial class Plans_v2RequestBuilderGetQueryParameters
{
/// Include count of items
[QueryParameter("%24count")]
@@ -180,7 +175,7 @@ public partial class GoalsRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
index 3b4d8f1dec7..315c5835a65 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index c81776da401..ef5edb8889e 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/Replies/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
index 2f21429c951..c09ef3d41e6 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/SetReaction/SetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class SetReactionPostRequestBody : IAdditionalDataHolder, IParsab
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
index 6979d64c13f..c85887597e4 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Messages/Item/UnsetReaction/UnsetReactionPostRequestBody.cs
@@ -14,6 +14,22 @@ public partial class UnsetReactionPostRequestBody : IAdditionalDataHolder, IPars
{
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
+ /// The displayName property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// The reactionId property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
+#endif
/// The reactionType property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
@@ -47,6 +63,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
};
}
@@ -57,6 +75,8 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs
index c093eecd661..7c3b5c5bf2e 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/PlannerRequestBuilder.cs
@@ -1,6 +1,7 @@
//
#pragma warning disable CS0618
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2;
using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
using Microsoft.Graph.PowerShell.Teams.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -24,6 +25,11 @@ public partial class PlannerRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.PlansRequestBuilder(PathParameters, RequestAdapter);
}
+ /// The plans_v2 property
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder Plans_v2
+ {
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(PathParameters, RequestAdapter);
+ }
///
/// Instantiates a new and sets the default values.
///
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
new file mode 100644
index 00000000000..2b9f89f83ff
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/ExtendExpiry/ExtendExpiryRequestBuilder.cs
@@ -0,0 +1,96 @@
+//
+#pragma warning disable CS0618
+using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
+using Microsoft.Kiota.Abstractions.Extensions;
+using Microsoft.Kiota.Abstractions.Serialization;
+using Microsoft.Kiota.Abstractions;
+using System.Collections.Generic;
+using System.IO;
+using System.Threading.Tasks;
+using System.Threading;
+using System;
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry
+{
+ ///
+ /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans\{plannerPlan-id}\extendExpiry
+ ///
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilder : BaseRequestBuilder
+ {
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// Path parameters for the request
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", pathParameters)
+ {
+ }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ /// The raw URL to use for the request builder.
+ /// The request adapter to use to execute the requests.
+ public ExtendExpiryRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/extendExpiry", rawUrl)
+ {
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// Cancellation token to use when cancelling requests
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ /// When receiving a 4XX or 5XX status code
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#nullable restore
+#else
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
+#endif
+ var requestInfo = ToPostRequestInformation(requestConfiguration);
+ var errorMapping = new Dictionary>
+ {
+ { "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
+ };
+ await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
+ }
+ ///
+ /// Invoke action extendExpiry
+ ///
+ /// A
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
+#nullable restore
+#else
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
+#endif
+ var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
+ requestInfo.Configure(requestConfiguration);
+ requestInfo.Headers.TryAdd("Accept", "application/json");
+ return requestInfo;
+ }
+ ///
+ /// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
+ ///
+ /// A
+ /// The raw URL to use for the request builder.
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder WithUrl(string rawUrl)
+ {
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(rawUrl, RequestAdapter);
+ }
+ ///
+ /// Configuration for the request such as headers, query parameters, and middleware options.
+ ///
+ [Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ public partial class ExtendExpiryRequestBuilderPostRequestConfiguration : RequestConfiguration
+ {
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
index f4a69cf94f2..bb31acbcc50 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/PlannerPlanItemRequestBuilder.cs
@@ -3,8 +3,8 @@
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Archive;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Buckets;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights;
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.MoveToContainer;
using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Tasks;
@@ -42,16 +42,16 @@ public partial class PlannerPlanItemRequestBuilder : BaseRequestBuilder
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Details.DetailsRequestBuilder(PathParameters, RequestAdapter);
}
+ /// The extendExpiry property
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder ExtendExpiry
+ {
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.ExtendExpiry.ExtendExpiryRequestBuilder(PathParameters, RequestAdapter);
+ }
/// The getUsageRights property
public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder GetUsageRights
{
get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.GetUsageRights.GetUsageRightsRequestBuilder(PathParameters, RequestAdapter);
}
- /// The goals property
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder Goals
- {
- get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(PathParameters, RequestAdapter);
- }
/// The historyItems property
public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.HistoryItems.HistoryItemsRequestBuilder HistoryItems
{
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs
similarity index 74%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs
index d3a95f64148..c481f7891db 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Count/CountRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Count/CountRequestBuilder.cs
@@ -9,28 +9,28 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans\{plannerPlan-id}\goals\$count
+ /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans_v2\$count
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class CountRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", pathParameters)
+ public CountRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/$count{?%24filter,%24search}", rawUrl)
+ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/$count{?%24filter,%24search}", rawUrl)
{
}
///
@@ -40,14 +40,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -62,14 +61,13 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -80,12 +78,11 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(rawUrl, RequestAdapter);
}
///
/// Get the number of the resource
@@ -119,7 +116,7 @@ public partial class CountRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
similarity index 58%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
index bf913cbbc74..c2ab4ec2290 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/Item/PlannerGoalItemRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Item/PlanItemRequestBuilder.cs
@@ -10,45 +10,44 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans\{plannerPlan-id}\goals\{plannerGoal-id}
+ /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans_v2\{plan-id}
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilder : BaseRequestBuilder
+ public partial class PlanItemRequestBuilder : BaseRequestBuilder
{
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public PlannerGoalItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", pathParameters)
+ public PlanItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals/{plannerGoal%2Did}{?%24expand,%24select}", rawUrl)
+ public PlanItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2/{plan%2Did}{?%24expand,%24select}", rawUrl)
{
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
- /// A
+ /// A
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -56,21 +55,20 @@ public PlannerGoalItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapt
{
{ "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerGoal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.Plan.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -81,18 +79,17 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilderGetQueryParameters
+ public partial class PlanItemRequestBuilderGetQueryParameters
{
/// Expand related entities
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -120,7 +117,7 @@ public partial class PlannerGoalItemRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class PlannerGoalItemRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class PlanItemRequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs
similarity index 62%
rename from src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
rename to src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs
index 111a9f1b9da..d5331831749 100644
--- a/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans/Item/Goals/GoalsRequestBuilder.cs
+++ b/src/Teams/wrapper/Beta/Client/Groups/Item/Team/PrimaryChannel/Planner/Plans_v2/Plans_v2RequestBuilder.cs
@@ -1,7 +1,7 @@
//
#pragma warning disable CS0618
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count;
-using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count;
+using Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item;
using Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors;
using Microsoft.Graph.PowerShell.Teams.Client.Models;
using Microsoft.Kiota.Abstractions.Extensions;
@@ -12,64 +12,61 @@
using System.Threading.Tasks;
using System.Threading;
using System;
-namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals
+namespace Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2
{
///
- /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans\{plannerPlan-id}\goals
+ /// Builds and executes requests for operations under \groups\{group-id}\team\primaryChannel\planner\plans_v2
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilder : BaseRequestBuilder
+ public partial class Plans_v2RequestBuilder : BaseRequestBuilder
{
/// The Count property
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder Count
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder Count
{
- get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Count.CountRequestBuilder(PathParameters, RequestAdapter);
+ get => new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Count.CountRequestBuilder(PathParameters, RequestAdapter);
}
- /// Gets an item from the Microsoft.Graph.PowerShell.Teams.Client.groups.item.team.primaryChannel.planner.plans.item.goals.item collection
+ /// Gets an item from the Microsoft.Graph.PowerShell.Teams.Client.groups.item.team.primaryChannel.planner.plans_v2.item collection
/// Unique identifier of the item
- /// A
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder this[string position]
+ /// A
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder this[string position]
{
get
{
var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("plannerGoal%2Did", position);
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.Item.PlannerGoalItemRequestBuilder(urlTplParams, RequestAdapter);
+ urlTplParams.Add("plan%2Did", position);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Item.PlanItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public GoalsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
+ public Plans_v2RequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters)
{
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans/{plannerPlan%2Did}/goals{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
+ public Plans_v2RequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/planner/plans_v2{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl)
{
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
- /// A
+ /// A
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
/// When receiving a 4XX or 5XX status code
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
{
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
{
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
@@ -77,21 +74,20 @@ public GoalsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
{
{ "XXX", global::Microsoft.Graph.PowerShell.Teams.Client.Models.ODataErrors.ODataError.CreateFromDiscriminatorValue },
};
- return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerGoalCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
+ return await RequestAdapter.SendAsync(requestInfo, global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlanCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
/// A
/// Configuration for the request such as headers, query parameters, and middleware options.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
{
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
{
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
@@ -102,18 +98,17 @@ public RequestInformation ToGetRequestInformation(Action
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
///
- /// A
+ /// A
/// The raw URL to use for the request builder.
- [Obsolete("private preview elements are required to be marked as deprecated as of 2025-03/Tasks_And_Plans on 2025-03-26 and will be removed 2026-03-26")]
- public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder WithUrl(string rawUrl)
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder WithUrl(string rawUrl)
{
- return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans.Item.Goals.GoalsRequestBuilder(rawUrl, RequestAdapter);
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Groups.Item.Team.PrimaryChannel.Planner.Plans_v2.Plans_v2RequestBuilder(rawUrl, RequestAdapter);
}
///
- /// Collection of goals in the plan. Read-only. Nullable.
+ /// Read-only. Nullable. The collection of Planner Graph V4 plans owned by the Teams channel. Currently, only shared channels are supported.
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilderGetQueryParameters
+ public partial class Plans_v2RequestBuilderGetQueryParameters
{
/// Include count of items
[QueryParameter("%24count")]
@@ -180,7 +175,7 @@ public partial class GoalsRequestBuilderGetQueryParameters
///
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
- public partial class GoalsRequestBuilderGetRequestConfiguration : RequestConfiguration
+ public partial class Plans_v2RequestBuilderGetRequestConfiguration : RequestConfiguration
{
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Models/Bucket.cs b/src/Teams/wrapper/Beta/Client/Models/Bucket.cs
new file mode 100644
index 00000000000..1db9824135d
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/Bucket.cs
@@ -0,0 +1,108 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class Bucket : global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerDelta, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.BucketCapability? Capabilities { get; private set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.BucketCapability Capabilities { get; private set; }
+#endif
+ /// Read-only creation metadata for the entity.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CreationInfo? CreationInfo { get; private set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CreationInfo CreationInfo { get; private set; }
+#endif
+ /// Title of the bucket.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// Custom extension field values set on the entity. Supports $select.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection? Extensions { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection Extensions { get; set; }
+#endif
+ /// Identity of the user (or application) who last modified the entity. Read-only.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet? LastModifiedBy { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet LastModifiedBy { get; set; }
+#endif
+ /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only.
+ public DateTimeOffset? LastModifiedDateTime { get; set; }
+ /// ID of the plan that contains the bucket. Immutable after creation.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? PlanId { get; set; }
+#nullable restore
+#else
+ public string PlanId { get; set; }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.PowerShell.Teams.Client.Models.Bucket CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.Bucket();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.BucketCapability.CreateFromDiscriminatorValue); } },
+ { "creationInfo", n => { CreationInfo = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CreationInfo.CreateFromDiscriminatorValue); } },
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } },
+ { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet.CreateFromDiscriminatorValue); } },
+ { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } },
+ { "planId", n => { PlanId = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteObjectValue("extensions", Extensions);
+ writer.WriteObjectValue("lastModifiedBy", LastModifiedBy);
+ writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
+ writer.WriteStringValue("planId", PlanId);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/BucketCapability.cs b/src/Teams/wrapper/Beta/Client/Models/BucketCapability.cs
new file mode 100644
index 00000000000..05156b16730
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/BucketCapability.cs
@@ -0,0 +1,69 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class BucketCapability : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Indicates whether custom extension fields are enabled for the bucket.
+ public bool? Extensions { get; set; }
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public BucketCapability()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.BucketCapability CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.BucketCapability();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "extensions", n => { Extensions = n.GetBoolValue(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("extensions", Extensions);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/CallAiInsight.cs b/src/Teams/wrapper/Beta/Client/Models/CallAiInsight.cs
index 18c82e15fff..41d6f15f493 100644
--- a/src/Teams/wrapper/Beta/Client/Models/CallAiInsight.cs
+++ b/src/Teams/wrapper/Beta/Client/Models/CallAiInsight.cs
@@ -47,6 +47,14 @@ public partial class CallAiInsight : global::Microsoft.Graph.PowerShell.Teams.Cl
#nullable restore
#else
public List MeetingNotes { get; set; }
+#endif
+ /// The recapUrl property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? RecapUrl { get; set; }
+#nullable restore
+#else
+ public string RecapUrl { get; set; }
#endif
/// The viewpoint property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -80,6 +88,7 @@ public override IDictionary> GetFieldDeserializers()
{ "createdDateTime", n => { CreatedDateTime = n.GetDateTimeOffsetValue(); } },
{ "endDateTime", n => { EndDateTime = n.GetDateTimeOffsetValue(); } },
{ "meetingNotes", n => { MeetingNotes = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.MeetingNote.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "recapUrl", n => { RecapUrl = n.GetStringValue(); } },
{ "viewpoint", n => { Viewpoint = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CallAiInsightViewPoint.CreateFromDiscriminatorValue); } },
};
}
@@ -97,6 +106,7 @@ public override void Serialize(ISerializationWriter writer)
writer.WriteDateTimeOffsetValue("createdDateTime", CreatedDateTime);
writer.WriteDateTimeOffsetValue("endDateTime", EndDateTime);
writer.WriteCollectionOfObjectValues("meetingNotes", MeetingNotes);
+ writer.WriteStringValue("recapUrl", RecapUrl);
writer.WriteObjectValue("viewpoint", Viewpoint);
}
}
diff --git a/src/Teams/wrapper/Beta/Client/Models/CategoryDefinition.cs b/src/Teams/wrapper/Beta/Client/Models/CategoryDefinition.cs
new file mode 100644
index 00000000000..c67bff4b7b8
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/CategoryDefinition.cs
@@ -0,0 +1,75 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CategoryDefinition : global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerDelta, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinitionCapability? Capabilities { get; private set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinitionCapability Capabilities { get; private set; }
+#endif
+ /// Name of the category.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// Custom extension field values set on the entity. Supports $select.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection? Extensions { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection Extensions { get; set; }
+#endif
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinition CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinition();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinitionCapability.CreateFromDiscriminatorValue); } },
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteObjectValue("extensions", Extensions);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/CategoryDefinitionCapability.cs b/src/Teams/wrapper/Beta/Client/Models/CategoryDefinitionCapability.cs
new file mode 100644
index 00000000000..7f60326646b
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/CategoryDefinitionCapability.cs
@@ -0,0 +1,69 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class CategoryDefinitionCapability : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Indicates whether custom extension fields are enabled for the category definition.
+ public bool? Extensions { get; set; }
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public CategoryDefinitionCapability()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinitionCapability CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.CategoryDefinitionCapability();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "extensions", n => { Extensions = n.GetBoolValue(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("extensions", Extensions);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChatMention.cs b/src/Teams/wrapper/Beta/Client/Models/ChatMention.cs
new file mode 100644
index 00000000000..7e45e363e78
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChatMention.cs
@@ -0,0 +1,83 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ChatMention : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Character position of the mention within the message content.
+ public int? Index { get; set; }
+ /// Identifier of the mentioned user or application.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Mentioned { get; set; }
+#nullable restore
+#else
+ public string Mentioned { get; set; }
+#endif
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ /// Type of the mentioned entity. The possible values are: user, application, unknownFutureValue.
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMentionType? Type { get; set; }
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ChatMention()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMention CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMention();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "index", n => { Index = n.GetIntValue(); } },
+ { "mentioned", n => { Mentioned = n.GetStringValue(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ { "type", n => { Type = n.GetEnumValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteIntValue("index", Index);
+ writer.WriteStringValue("mentioned", Mentioned);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteEnumValue("type", Type);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChatMentionType.cs b/src/Teams/wrapper/Beta/Client/Models/ChatMentionType.cs
new file mode 100644
index 00000000000..0a8d212430c
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChatMentionType.cs
@@ -0,0 +1,24 @@
+//
+using System.Runtime.Serialization;
+using System;
+namespace Microsoft.Graph.PowerShell.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public enum ChatMentionType
+ #pragma warning restore CS1591
+ {
+ [EnumMember(Value = "user")]
+ #pragma warning disable CS1591
+ User,
+ #pragma warning restore CS1591
+ [EnumMember(Value = "application")]
+ #pragma warning disable CS1591
+ Application,
+ #pragma warning restore CS1591
+ [EnumMember(Value = "unknownFutureValue")]
+ #pragma warning disable CS1591
+ UnknownFutureValue,
+ #pragma warning restore CS1591
+ }
+}
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChatMessageProperties.cs b/src/Teams/wrapper/Beta/Client/Models/ChatMessageProperties.cs
new file mode 100644
index 00000000000..cc0cb1e0637
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChatMessageProperties.cs
@@ -0,0 +1,85 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ChatMessageProperties : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Collection of @mentions in the message.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Mentions { get; set; }
+#nullable restore
+#else
+ public List Mentions { get; set; }
+#endif
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ /// Collection of reactions applied to the message.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Reactions { get; set; }
+#nullable restore
+#else
+ public List Reactions { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ChatMessageProperties()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMessageProperties CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMessageProperties();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "mentions", n => { Mentions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMention.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ { "reactions", n => { Reactions = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatReaction.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfObjectValues("mentions", Mentions);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteCollectionOfObjectValues("reactions", Reactions);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChatMessageReaction.cs b/src/Teams/wrapper/Beta/Client/Models/ChatMessageReaction.cs
index 30a84923e96..aae012f9cc4 100644
--- a/src/Teams/wrapper/Beta/Client/Models/ChatMessageReaction.cs
+++ b/src/Teams/wrapper/Beta/Client/Models/ChatMessageReaction.cs
@@ -39,6 +39,14 @@ public partial class ChatMessageReaction : IAdditionalDataHolder, IParsable
#nullable restore
#else
public string ReactionContentUrl { get; set; }
+#endif
+ /// The service-issued identifier for a custom emoji reaction. The identifier is scoped to the tenant.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? ReactionId { get; set; }
+#nullable restore
+#else
+ public string ReactionId { get; set; }
#endif
/// The reaction type. Supported values include Unicode characters, custom, and some backward-compatible reaction types, such as like, angry, sad, laugh, heart, and surprised.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -85,6 +93,7 @@ public virtual IDictionary> GetFieldDeserializers()
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
{ "@odata.type", n => { OdataType = n.GetStringValue(); } },
{ "reactionContentUrl", n => { ReactionContentUrl = n.GetStringValue(); } },
+ { "reactionId", n => { ReactionId = n.GetStringValue(); } },
{ "reactionType", n => { ReactionType = n.GetStringValue(); } },
{ "user", n => { User = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatMessageReactionIdentitySet.CreateFromDiscriminatorValue); } },
};
@@ -100,6 +109,7 @@ public virtual void Serialize(ISerializationWriter writer)
writer.WriteStringValue("displayName", DisplayName);
writer.WriteStringValue("@odata.type", OdataType);
writer.WriteStringValue("reactionContentUrl", ReactionContentUrl);
+ writer.WriteStringValue("reactionId", ReactionId);
writer.WriteStringValue("reactionType", ReactionType);
writer.WriteObjectValue("user", User);
writer.WriteAdditionalData(AdditionalData);
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChatReaction.cs b/src/Teams/wrapper/Beta/Client/Models/ChatReaction.cs
new file mode 100644
index 00000000000..8ce2608f674
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChatReaction.cs
@@ -0,0 +1,85 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ChatReaction : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Identifier of the reaction (for example, an emoji key).
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? Key { get; set; }
+#nullable restore
+#else
+ public string Key { get; set; }
+#endif
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ /// Users who applied the reaction, and when.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Users { get; set; }
+#nullable restore
+#else
+ public List Users { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ChatReaction()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatReaction CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChatReaction();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "key", n => { Key = n.GetStringValue(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ { "users", n => { Users = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CreationTimestamp.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteStringValue("key", Key);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteCollectionOfObjectValues("users", Users);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChecklistCapability.cs b/src/Teams/wrapper/Beta/Client/Models/ChecklistCapability.cs
new file mode 100644
index 00000000000..ef74bc7cdec
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChecklistCapability.cs
@@ -0,0 +1,69 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ChecklistCapability : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// Indicates whether custom extension fields are enabled for the checklist item.
+ public bool? Extensions { get; set; }
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public ChecklistCapability()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistCapability CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistCapability();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "extensions", n => { Extensions = n.GetBoolValue(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteBoolValue("extensions", Extensions);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/ChecklistItemV4.cs b/src/Teams/wrapper/Beta/Client/Models/ChecklistItemV4.cs
new file mode 100644
index 00000000000..63b8883a2f1
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/ChecklistItemV4.cs
@@ -0,0 +1,116 @@
+//
+#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.Teams.Client.Models
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class ChecklistItemV4 : global::Microsoft.Graph.PowerShell.Teams.Client.Models.PlannerDelta, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Server-computed, read-only capability flags indicating which optional features are enabled for the entity.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistCapability? Capabilities { get; private set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistCapability Capabilities { get; private set; }
+#endif
+ /// Identity of the user who checked the checklist item.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet? CompletedBy { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet CompletedBy { get; set; }
+#endif
+ /// Date and time the checklist item was checked.
+ public DateTimeOffset? CompletedDateTime { get; set; }
+ /// Identity of the user (or application) who created the entity. Read-only.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet? CreatedBy { get; private set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet CreatedBy { get; private set; }
+#endif
+ /// Title of the checklist item.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? DisplayName { get; set; }
+#nullable restore
+#else
+ public string DisplayName { get; set; }
+#endif
+ /// Custom extension field values set on the entity. Supports $select.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection? Extensions { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection Extensions { get; set; }
+#endif
+ /// Indicates whether the checklist item is checked (completed).
+ public bool? IsChecked { get; set; }
+ /// Identity of the user (or application) who last modified the entity. Read-only.
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet? LastModifiedBy { get; set; }
+#nullable restore
+#else
+ public global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet LastModifiedBy { get; set; }
+#endif
+ /// Date and time the entity was last modified. The value is represented in ISO 8601 format and is always in UTC time. Read-only.
+ public DateTimeOffset? LastModifiedDateTime { get; set; }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistItemV4 CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistItemV4();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public override IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>(base.GetFieldDeserializers())
+ {
+ { "capabilities", n => { Capabilities = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ChecklistCapability.CreateFromDiscriminatorValue); } },
+ { "completedBy", n => { CompletedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet.CreateFromDiscriminatorValue); } },
+ { "completedDateTime", n => { CompletedDateTime = n.GetDateTimeOffsetValue(); } },
+ { "createdBy", n => { CreatedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet.CreateFromDiscriminatorValue); } },
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "extensions", n => { Extensions = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.ExtensionFieldCollection.CreateFromDiscriminatorValue); } },
+ { "isChecked", n => { IsChecked = n.GetBoolValue(); } },
+ { "lastModifiedBy", n => { LastModifiedBy = n.GetObjectValue(global::Microsoft.Graph.PowerShell.Teams.Client.Models.IdentitySet.CreateFromDiscriminatorValue); } },
+ { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public override void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ base.Serialize(writer);
+ writer.WriteObjectValue("completedBy", CompletedBy);
+ writer.WriteDateTimeOffsetValue("completedDateTime", CompletedDateTime);
+ writer.WriteStringValue("displayName", DisplayName);
+ writer.WriteObjectValue("extensions", Extensions);
+ writer.WriteBoolValue("isChecked", IsChecked);
+ writer.WriteObjectValue("lastModifiedBy", LastModifiedBy);
+ writer.WriteDateTimeOffsetValue("lastModifiedDateTime", LastModifiedDateTime);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/CloudLicensing/DeviceCloudLicensing.cs b/src/Teams/wrapper/Beta/Client/Models/CloudLicensing/DeviceCloudLicensing.cs
new file mode 100644
index 00000000000..ef75d097cf0
--- /dev/null
+++ b/src/Teams/wrapper/Beta/Client/Models/CloudLicensing/DeviceCloudLicensing.cs
@@ -0,0 +1,95 @@
+//
+#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.Teams.Client.Models.CloudLicensing
+{
+ [global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
+ #pragma warning disable CS1591
+ public partial class DeviceCloudLicensing : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
+ /// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ public IDictionary AdditionalData { get; set; }
+ /// The assignments property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? Assignments { get; set; }
+#nullable restore
+#else
+ public List Assignments { get; set; }
+#endif
+ /// The OdataType property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public string? OdataType { get; set; }
+#nullable restore
+#else
+ public string OdataType { get; set; }
+#endif
+ /// The usageRights property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? UsageRights { get; set; }
+#nullable restore
+#else
+ public List UsageRights { get; set; }
+#endif
+ /// The waitingMembers property
+#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
+#nullable enable
+ public List? WaitingMembers { get; set; }
+#nullable restore
+#else
+ public List WaitingMembers { get; set; }
+#endif
+ ///
+ /// Instantiates a new and sets the default values.
+ ///
+ public DeviceCloudLicensing()
+ {
+ AdditionalData = new Dictionary();
+ }
+ ///
+ /// Creates a new instance of the appropriate class based on discriminator value
+ ///
+ /// A
+ /// The parse node to use to read the discriminator value and create the object
+ public static global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudLicensing.DeviceCloudLicensing CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
+ if(ReferenceEquals(parseNode, null)) throw new ArgumentNullException(nameof(parseNode));
+ return new global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudLicensing.DeviceCloudLicensing();
+ }
+ ///
+ /// The deserialization information for the current model
+ ///
+ /// A IDictionary<string, Action<IParseNode>>
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
+ { "assignments", n => { Assignments = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudLicensing.Assignment.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "@odata.type", n => { OdataType = n.GetStringValue(); } },
+ { "usageRights", n => { UsageRights = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudLicensing.UsageRight.CreateFromDiscriminatorValue)?.AsList(); } },
+ { "waitingMembers", n => { WaitingMembers = n.GetCollectionOfObjectValues(global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudLicensing.WaitingMember.CreateFromDiscriminatorValue)?.AsList(); } },
+ };
+ }
+ ///
+ /// Serializes information the current object
+ ///
+ /// Serialization writer to use to serialize this model
+ public virtual void Serialize(ISerializationWriter writer)
+ {
+ if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
+ writer.WriteCollectionOfObjectValues("assignments", Assignments);
+ writer.WriteStringValue("@odata.type", OdataType);
+ writer.WriteCollectionOfObjectValues("usageRights", UsageRights);
+ writer.WriteCollectionOfObjectValues("waitingMembers", WaitingMembers);
+ writer.WriteAdditionalData(AdditionalData);
+ }
+ }
+}
+#pragma warning restore CS0618
diff --git a/src/Teams/wrapper/Beta/Client/Models/CloudPcPool.cs b/src/Teams/wrapper/Beta/Client/Models/CloudPcPool.cs
index bf0f7f6ed5b..acf56b31986 100644
--- a/src/Teams/wrapper/Beta/Client/Models/CloudPcPool.cs
+++ b/src/Teams/wrapper/Beta/Client/Models/CloudPcPool.cs
@@ -19,14 +19,6 @@ public partial class CloudPcPool : global::Microsoft.Graph.PowerShell.Teams.Clie
#nullable restore
#else
public List Assignments { get; set; }
-#endif
- /// The capabilities property
-#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
-#nullable enable
- public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudPcPoolCapabilityConfiguration? Capabilities { get; set; }
-#nullable restore
-#else
- public global::Microsoft.Graph.PowerShell.Teams.Client.Models.CloudPcPoolCapabilityConfiguration Capabilities { get; set; }
#endif
/// The cloudPcConfiguration property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -83,7 +75,6 @@ public override IDictionary> GetFieldDeserializers()
return new Dictionary