diff --git a/msgraph-mail/dotnet/ApiClient.cs b/msgraph-mail/dotnet/ApiClient.cs
index dcb41a8a5..8d67df2fe 100644
--- a/msgraph-mail/dotnet/ApiClient.cs
+++ b/msgraph-mail/dotnet/ApiClient.cs
@@ -11,19 +11,20 @@
using System.Linq;
using System.Threading.Tasks;
using System;
-namespace Graphdotnetv4 {
+namespace Graphdotnetv4
+{
///
/// The main entry point of the SDK, exposes the configuration and the fluent API.
///
- public class ApiClient : BaseRequestBuilder
+ public class ApiClient : BaseRequestBuilder
{
/// The users property
- public UsersRequestBuilder Users
+ public Graphdotnetv4.Users.UsersRequestBuilder Users
{
- get => new UsersRequestBuilder(PathParameters, RequestAdapter);
+ get => new Graphdotnetv4.Users.UsersRequestBuilder(PathParameters, RequestAdapter);
}
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
/// The request adapter to use to execute the requests.
public ApiClient(IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}", new Dictionary())
diff --git a/msgraph-mail/dotnet/Models/Attachment.cs b/msgraph-mail/dotnet/Models/Attachment.cs
index 7228d0a42..3abb21b42 100644
--- a/msgraph-mail/dotnet/Models/Attachment.cs
+++ b/msgraph-mail/dotnet/Models/Attachment.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class Attachment : Entity, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class Attachment : Graphdotnetv4.Models.Entity, IParsable
+ #pragma warning restore CS1591
{
/// The MIME type.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -32,12 +35,12 @@ public class Attachment : Entity, IParsable
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new Attachment CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.Attachment CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new Attachment();
+ return new Graphdotnetv4.Models.Attachment();
}
///
/// The deserialization information for the current model
@@ -47,11 +50,11 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- {"contentType", n => { ContentType = n.GetStringValue(); } },
- {"isInline", n => { IsInline = n.GetBoolValue(); } },
- {"lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } },
- {"name", n => { Name = n.GetStringValue(); } },
- {"size", n => { Size = n.GetIntValue(); } },
+ { "contentType", n => { ContentType = n.GetStringValue(); } },
+ { "isInline", n => { IsInline = n.GetBoolValue(); } },
+ { "lastModifiedDateTime", n => { LastModifiedDateTime = n.GetDateTimeOffsetValue(); } },
+ { "name", n => { Name = n.GetStringValue(); } },
+ { "size", n => { Size = n.GetIntValue(); } },
};
}
///
diff --git a/msgraph-mail/dotnet/Models/AttachmentCollectionResponse.cs b/msgraph-mail/dotnet/Models/AttachmentCollectionResponse.cs
index e3f640661..840a1a704 100644
--- a/msgraph-mail/dotnet/Models/AttachmentCollectionResponse.cs
+++ b/msgraph-mail/dotnet/Models/AttachmentCollectionResponse.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class AttachmentCollectionResponse : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class AttachmentCollectionResponse : 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; }
@@ -20,13 +23,13 @@ public class AttachmentCollectionResponse : IAdditionalDataHolder, IParsable
/// The value property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Value { get; set; }
+ public List? Value { get; set; }
#nullable restore
#else
- public List Value { get; set; }
+ public List Value { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public AttachmentCollectionResponse()
{
@@ -35,12 +38,12 @@ public AttachmentCollectionResponse()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static AttachmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.AttachmentCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new AttachmentCollectionResponse();
+ return new Graphdotnetv4.Models.AttachmentCollectionResponse();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
- {"value", n => { Value = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
+ { "value", n => { Value = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Attachment.CreateFromDiscriminatorValue)?.ToList(); } },
};
}
///
@@ -62,7 +65,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("@odata.nextLink", OdataNextLink);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteCollectionOfObjectValues("value", Value);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/BodyType.cs b/msgraph-mail/dotnet/Models/BodyType.cs
index ab8a27219..bcd4e7a10 100644
--- a/msgraph-mail/dotnet/Models/BodyType.cs
+++ b/msgraph-mail/dotnet/Models/BodyType.cs
@@ -1,12 +1,19 @@
//
using System.Runtime.Serialization;
using System;
-namespace Graphdotnetv4.Models {
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
public enum BodyType
+ #pragma warning restore CS1591
{
[EnumMember(Value = "text")]
+ #pragma warning disable CS1591
Text,
+ #pragma warning restore CS1591
[EnumMember(Value = "html")]
+ #pragma warning disable CS1591
Html,
+ #pragma warning restore CS1591
}
}
diff --git a/msgraph-mail/dotnet/Models/DateTimeTimeZone.cs b/msgraph-mail/dotnet/Models/DateTimeTimeZone.cs
index 793381a50..84bdf84ce 100644
--- a/msgraph-mail/dotnet/Models/DateTimeTimeZone.cs
+++ b/msgraph-mail/dotnet/Models/DateTimeTimeZone.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class DateTimeTimeZone : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class DateTimeTimeZone : 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; }
@@ -26,7 +29,7 @@ public class DateTimeTimeZone : IAdditionalDataHolder, IParsable
public string TimeZone { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public DateTimeTimeZone()
{
@@ -35,12 +38,12 @@ public DateTimeTimeZone()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static DateTimeTimeZone CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.DateTimeTimeZone CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new DateTimeTimeZone();
+ return new Graphdotnetv4.Models.DateTimeTimeZone();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"dateTime", n => { DateTime = n.GetStringValue(); } },
- {"timeZone", n => { TimeZone = n.GetStringValue(); } },
+ { "dateTime", n => { DateTime = n.GetStringValue(); } },
+ { "timeZone", n => { TimeZone = n.GetStringValue(); } },
};
}
///
diff --git a/msgraph-mail/dotnet/Models/EmailAddress.cs b/msgraph-mail/dotnet/Models/EmailAddress.cs
index 5ef5bd543..33e011ec3 100644
--- a/msgraph-mail/dotnet/Models/EmailAddress.cs
+++ b/msgraph-mail/dotnet/Models/EmailAddress.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class EmailAddress : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class EmailAddress : 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; }
@@ -26,7 +29,7 @@ public class EmailAddress : IAdditionalDataHolder, IParsable
public string Name { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public EmailAddress()
{
@@ -35,12 +38,12 @@ public EmailAddress()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static EmailAddress CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.EmailAddress CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new EmailAddress();
+ return new Graphdotnetv4.Models.EmailAddress();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"address", n => { Address = n.GetStringValue(); } },
- {"name", n => { Name = n.GetStringValue(); } },
+ { "address", n => { Address = n.GetStringValue(); } },
+ { "name", n => { Name = n.GetStringValue(); } },
};
}
///
diff --git a/msgraph-mail/dotnet/Models/Entity.cs b/msgraph-mail/dotnet/Models/Entity.cs
index d60fc6d3c..9e27f5128 100644
--- a/msgraph-mail/dotnet/Models/Entity.cs
+++ b/msgraph-mail/dotnet/Models/Entity.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class Entity : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class Entity : 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; }
@@ -18,7 +21,7 @@ public class Entity : IAdditionalDataHolder, IParsable
public string Id { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public Entity()
{
@@ -27,12 +30,12 @@ public Entity()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static Entity CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.Entity CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new Entity();
+ return new Graphdotnetv4.Models.Entity();
}
///
/// The deserialization information for the current model
@@ -42,7 +45,7 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"id", n => { Id = n.GetStringValue(); } },
+ { "id", n => { Id = n.GetStringValue(); } },
};
}
///
diff --git a/msgraph-mail/dotnet/Models/Extension.cs b/msgraph-mail/dotnet/Models/Extension.cs
index 2f6c93c2b..36f7bbcfb 100644
--- a/msgraph-mail/dotnet/Models/Extension.cs
+++ b/msgraph-mail/dotnet/Models/Extension.cs
@@ -4,18 +4,21 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class Extension : Entity, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class Extension : Graphdotnetv4.Models.Entity, IParsable
+ #pragma warning restore CS1591
{
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new Extension CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.Extension CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new Extension();
+ return new Graphdotnetv4.Models.Extension();
}
///
/// The deserialization information for the current model
diff --git a/msgraph-mail/dotnet/Models/ExtensionCollectionResponse.cs b/msgraph-mail/dotnet/Models/ExtensionCollectionResponse.cs
index b02d0a8cb..8aace4bdc 100644
--- a/msgraph-mail/dotnet/Models/ExtensionCollectionResponse.cs
+++ b/msgraph-mail/dotnet/Models/ExtensionCollectionResponse.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class ExtensionCollectionResponse : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class ExtensionCollectionResponse : 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; }
@@ -20,13 +23,13 @@ public class ExtensionCollectionResponse : IAdditionalDataHolder, IParsable
/// The value property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Value { get; set; }
+ public List? Value { get; set; }
#nullable restore
#else
- public List Value { get; set; }
+ public List Value { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public ExtensionCollectionResponse()
{
@@ -35,12 +38,12 @@ public ExtensionCollectionResponse()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static ExtensionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.ExtensionCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new ExtensionCollectionResponse();
+ return new Graphdotnetv4.Models.ExtensionCollectionResponse();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
- {"value", n => { Value = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
+ { "value", n => { Value = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Extension.CreateFromDiscriminatorValue)?.ToList(); } },
};
}
///
@@ -62,7 +65,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("@odata.nextLink", OdataNextLink);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteCollectionOfObjectValues("value", Value);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/FollowupFlag.cs b/msgraph-mail/dotnet/Models/FollowupFlag.cs
index 2d591a912..8bed26b7e 100644
--- a/msgraph-mail/dotnet/Models/FollowupFlag.cs
+++ b/msgraph-mail/dotnet/Models/FollowupFlag.cs
@@ -4,39 +4,42 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class FollowupFlag : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class FollowupFlag : 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 completedDateTime property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public DateTimeTimeZone? CompletedDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone? CompletedDateTime { get; set; }
#nullable restore
#else
- public DateTimeTimeZone CompletedDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone CompletedDateTime { get; set; }
#endif
/// The dueDateTime property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public DateTimeTimeZone? DueDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone? DueDateTime { get; set; }
#nullable restore
#else
- public DateTimeTimeZone DueDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone DueDateTime { get; set; }
#endif
/// The flagStatus property
- public FollowupFlagStatus? FlagStatus { get; set; }
+ public Graphdotnetv4.Models.FollowupFlagStatus? FlagStatus { get; set; }
/// The startDateTime property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public DateTimeTimeZone? StartDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone? StartDateTime { get; set; }
#nullable restore
#else
- public DateTimeTimeZone StartDateTime { get; set; }
+ public Graphdotnetv4.Models.DateTimeTimeZone StartDateTime { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public FollowupFlag()
{
@@ -45,12 +48,12 @@ public FollowupFlag()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static FollowupFlag CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.FollowupFlag CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new FollowupFlag();
+ return new Graphdotnetv4.Models.FollowupFlag();
}
///
/// The deserialization information for the current model
@@ -60,10 +63,10 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"completedDateTime", n => { CompletedDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } },
- {"dueDateTime", n => { DueDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } },
- {"flagStatus", n => { FlagStatus = n.GetEnumValue(); } },
- {"startDateTime", n => { StartDateTime = n.GetObjectValue(DateTimeTimeZone.CreateFromDiscriminatorValue); } },
+ { "completedDateTime", n => { CompletedDateTime = n.GetObjectValue(Graphdotnetv4.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } },
+ { "dueDateTime", n => { DueDateTime = n.GetObjectValue(Graphdotnetv4.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } },
+ { "flagStatus", n => { FlagStatus = n.GetEnumValue(); } },
+ { "startDateTime", n => { StartDateTime = n.GetObjectValue(Graphdotnetv4.Models.DateTimeTimeZone.CreateFromDiscriminatorValue); } },
};
}
///
@@ -73,10 +76,10 @@ public virtual IDictionary> GetFieldDeserializers()
public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
- writer.WriteObjectValue("completedDateTime", CompletedDateTime);
- writer.WriteObjectValue("dueDateTime", DueDateTime);
- writer.WriteEnumValue("flagStatus", FlagStatus);
- writer.WriteObjectValue("startDateTime", StartDateTime);
+ writer.WriteObjectValue("completedDateTime", CompletedDateTime);
+ writer.WriteObjectValue("dueDateTime", DueDateTime);
+ writer.WriteEnumValue("flagStatus", FlagStatus);
+ writer.WriteObjectValue("startDateTime", StartDateTime);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/FollowupFlagStatus.cs b/msgraph-mail/dotnet/Models/FollowupFlagStatus.cs
index 0d6dbbd6f..e11d7f159 100644
--- a/msgraph-mail/dotnet/Models/FollowupFlagStatus.cs
+++ b/msgraph-mail/dotnet/Models/FollowupFlagStatus.cs
@@ -1,14 +1,23 @@
//
using System.Runtime.Serialization;
using System;
-namespace Graphdotnetv4.Models {
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
public enum FollowupFlagStatus
+ #pragma warning restore CS1591
{
[EnumMember(Value = "notFlagged")]
+ #pragma warning disable CS1591
NotFlagged,
+ #pragma warning restore CS1591
[EnumMember(Value = "complete")]
+ #pragma warning disable CS1591
Complete,
+ #pragma warning restore CS1591
[EnumMember(Value = "flagged")]
+ #pragma warning disable CS1591
Flagged,
+ #pragma warning restore CS1591
}
}
diff --git a/msgraph-mail/dotnet/Models/Importance.cs b/msgraph-mail/dotnet/Models/Importance.cs
index 45d75a05f..8fd1572d5 100644
--- a/msgraph-mail/dotnet/Models/Importance.cs
+++ b/msgraph-mail/dotnet/Models/Importance.cs
@@ -1,14 +1,23 @@
//
using System.Runtime.Serialization;
using System;
-namespace Graphdotnetv4.Models {
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
public enum Importance
+ #pragma warning restore CS1591
{
[EnumMember(Value = "low")]
+ #pragma warning disable CS1591
Low,
+ #pragma warning restore CS1591
[EnumMember(Value = "normal")]
+ #pragma warning disable CS1591
Normal,
+ #pragma warning restore CS1591
[EnumMember(Value = "high")]
+ #pragma warning disable CS1591
High,
+ #pragma warning restore CS1591
}
}
diff --git a/msgraph-mail/dotnet/Models/InferenceClassification.cs b/msgraph-mail/dotnet/Models/InferenceClassification.cs
index 379fde978..ba689c9c6 100644
--- a/msgraph-mail/dotnet/Models/InferenceClassification.cs
+++ b/msgraph-mail/dotnet/Models/InferenceClassification.cs
@@ -4,26 +4,29 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class InferenceClassification : Entity, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class InferenceClassification : Graphdotnetv4.Models.Entity, IParsable
+ #pragma warning restore CS1591
{
/// A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Overrides { get; set; }
+ public List? Overrides { get; set; }
#nullable restore
#else
- public List Overrides { get; set; }
+ public List Overrides { get; set; }
#endif
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new InferenceClassification CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.InferenceClassification CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new InferenceClassification();
+ return new Graphdotnetv4.Models.InferenceClassification();
}
///
/// The deserialization information for the current model
@@ -33,7 +36,7 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- {"overrides", n => { Overrides = n.GetCollectionOfObjectValues(InferenceClassificationOverride.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "overrides", n => { Overrides = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue)?.ToList(); } },
};
}
///
@@ -44,7 +47,7 @@ public override void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteCollectionOfObjectValues("overrides", Overrides);
+ writer.WriteCollectionOfObjectValues("overrides", Overrides);
}
}
}
diff --git a/msgraph-mail/dotnet/Models/InferenceClassificationOverride.cs b/msgraph-mail/dotnet/Models/InferenceClassificationOverride.cs
index fd19a8427..0754a7cd9 100644
--- a/msgraph-mail/dotnet/Models/InferenceClassificationOverride.cs
+++ b/msgraph-mail/dotnet/Models/InferenceClassificationOverride.cs
@@ -4,28 +4,31 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class InferenceClassificationOverride : Entity, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class InferenceClassificationOverride : Graphdotnetv4.Models.Entity, IParsable
+ #pragma warning restore CS1591
{
/// The classifyAs property
- public InferenceClassificationType? ClassifyAs { get; set; }
+ public Graphdotnetv4.Models.InferenceClassificationType? ClassifyAs { get; set; }
/// The senderEmailAddress property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public EmailAddress? SenderEmailAddress { get; set; }
+ public Graphdotnetv4.Models.EmailAddress? SenderEmailAddress { get; set; }
#nullable restore
#else
- public EmailAddress SenderEmailAddress { get; set; }
+ public Graphdotnetv4.Models.EmailAddress SenderEmailAddress { get; set; }
#endif
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new InferenceClassificationOverride CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.InferenceClassificationOverride CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new InferenceClassificationOverride();
+ return new Graphdotnetv4.Models.InferenceClassificationOverride();
}
///
/// The deserialization information for the current model
@@ -35,8 +38,8 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- {"classifyAs", n => { ClassifyAs = n.GetEnumValue(); } },
- {"senderEmailAddress", n => { SenderEmailAddress = n.GetObjectValue(EmailAddress.CreateFromDiscriminatorValue); } },
+ { "classifyAs", n => { ClassifyAs = n.GetEnumValue(); } },
+ { "senderEmailAddress", n => { SenderEmailAddress = n.GetObjectValue(Graphdotnetv4.Models.EmailAddress.CreateFromDiscriminatorValue); } },
};
}
///
@@ -47,8 +50,8 @@ public override void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteEnumValue("classifyAs", ClassifyAs);
- writer.WriteObjectValue("senderEmailAddress", SenderEmailAddress);
+ writer.WriteEnumValue("classifyAs", ClassifyAs);
+ writer.WriteObjectValue("senderEmailAddress", SenderEmailAddress);
}
}
}
diff --git a/msgraph-mail/dotnet/Models/InferenceClassificationOverrideCollectionResponse.cs b/msgraph-mail/dotnet/Models/InferenceClassificationOverrideCollectionResponse.cs
index 0c5ee0de8..a23fd1790 100644
--- a/msgraph-mail/dotnet/Models/InferenceClassificationOverrideCollectionResponse.cs
+++ b/msgraph-mail/dotnet/Models/InferenceClassificationOverrideCollectionResponse.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class InferenceClassificationOverrideCollectionResponse : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class InferenceClassificationOverrideCollectionResponse : 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; }
@@ -20,13 +23,13 @@ public class InferenceClassificationOverrideCollectionResponse : IAdditionalData
/// The value property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Value { get; set; }
+ public List? Value { get; set; }
#nullable restore
#else
- public List Value { get; set; }
+ public List Value { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public InferenceClassificationOverrideCollectionResponse()
{
@@ -35,12 +38,12 @@ public InferenceClassificationOverrideCollectionResponse()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static InferenceClassificationOverrideCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.InferenceClassificationOverrideCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new InferenceClassificationOverrideCollectionResponse();
+ return new Graphdotnetv4.Models.InferenceClassificationOverrideCollectionResponse();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
- {"value", n => { Value = n.GetCollectionOfObjectValues(InferenceClassificationOverride.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
+ { "value", n => { Value = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.InferenceClassificationOverride.CreateFromDiscriminatorValue)?.ToList(); } },
};
}
///
@@ -62,7 +65,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("@odata.nextLink", OdataNextLink);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteCollectionOfObjectValues("value", Value);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/InferenceClassificationType.cs b/msgraph-mail/dotnet/Models/InferenceClassificationType.cs
index c2763191e..3bdca8785 100644
--- a/msgraph-mail/dotnet/Models/InferenceClassificationType.cs
+++ b/msgraph-mail/dotnet/Models/InferenceClassificationType.cs
@@ -1,12 +1,19 @@
//
using System.Runtime.Serialization;
using System;
-namespace Graphdotnetv4.Models {
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
public enum InferenceClassificationType
+ #pragma warning restore CS1591
{
[EnumMember(Value = "focused")]
+ #pragma warning disable CS1591
Focused,
+ #pragma warning restore CS1591
[EnumMember(Value = "other")]
+ #pragma warning disable CS1591
Other,
+ #pragma warning restore CS1591
}
}
diff --git a/msgraph-mail/dotnet/Models/InternetMessageHeader.cs b/msgraph-mail/dotnet/Models/InternetMessageHeader.cs
index 679bbb7e7..2494e6f05 100644
--- a/msgraph-mail/dotnet/Models/InternetMessageHeader.cs
+++ b/msgraph-mail/dotnet/Models/InternetMessageHeader.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class InternetMessageHeader : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class InternetMessageHeader : 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; }
@@ -26,7 +29,7 @@ public class InternetMessageHeader : IAdditionalDataHolder, IParsable
public string Value { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public InternetMessageHeader()
{
@@ -35,12 +38,12 @@ public InternetMessageHeader()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static InternetMessageHeader CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.InternetMessageHeader CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new InternetMessageHeader();
+ return new Graphdotnetv4.Models.InternetMessageHeader();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"name", n => { Name = n.GetStringValue(); } },
- {"value", n => { Value = n.GetStringValue(); } },
+ { "name", n => { Name = n.GetStringValue(); } },
+ { "value", n => { Value = n.GetStringValue(); } },
};
}
///
diff --git a/msgraph-mail/dotnet/Models/ItemBody.cs b/msgraph-mail/dotnet/Models/ItemBody.cs
index 6a69bae64..b91d1d5cf 100644
--- a/msgraph-mail/dotnet/Models/ItemBody.cs
+++ b/msgraph-mail/dotnet/Models/ItemBody.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class ItemBody : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class ItemBody : 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; }
@@ -18,9 +21,9 @@ public class ItemBody : IAdditionalDataHolder, IParsable
public string Content { get; set; }
#endif
/// The contentType property
- public BodyType? ContentType { get; set; }
+ public Graphdotnetv4.Models.BodyType? ContentType { get; set; }
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public ItemBody()
{
@@ -29,12 +32,12 @@ public ItemBody()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static ItemBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.ItemBody CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new ItemBody();
+ return new Graphdotnetv4.Models.ItemBody();
}
///
/// The deserialization information for the current model
@@ -44,8 +47,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"content", n => { Content = n.GetStringValue(); } },
- {"contentType", n => { ContentType = n.GetEnumValue(); } },
+ { "content", n => { Content = n.GetStringValue(); } },
+ { "contentType", n => { ContentType = n.GetEnumValue(); } },
};
}
///
@@ -56,7 +59,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("content", Content);
- writer.WriteEnumValue("contentType", ContentType);
+ writer.WriteEnumValue("contentType", ContentType);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/MailFolder.cs b/msgraph-mail/dotnet/Models/MailFolder.cs
index 91c48abe2..f4eef8223 100644
--- a/msgraph-mail/dotnet/Models/MailFolder.cs
+++ b/msgraph-mail/dotnet/Models/MailFolder.cs
@@ -4,18 +4,21 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class MailFolder : Entity, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class MailFolder : Graphdotnetv4.Models.Entity, IParsable
+ #pragma warning restore CS1591
{
/// The number of immediate child mailFolders in the current mailFolder.
public int? ChildFolderCount { get; set; }
/// The collection of child folders in the mailFolder.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? ChildFolders { get; set; }
+ public List? ChildFolders { get; set; }
#nullable restore
#else
- public List ChildFolders { get; set; }
+ public List ChildFolders { get; set; }
#endif
/// The mailFolder's display name.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -30,26 +33,26 @@ public class MailFolder : Entity, IParsable
/// The collection of rules that apply to the user's Inbox folder.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? MessageRules { get; set; }
+ public List? MessageRules { get; set; }
#nullable restore
#else
- public List MessageRules { get; set; }
+ public List MessageRules { get; set; }
#endif
/// The collection of messages in the mailFolder.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Messages { get; set; }
+ public List? Messages { get; set; }
#nullable restore
#else
- public List Messages { get; set; }
+ public List Messages { get; set; }
#endif
/// The collection of multi-value extended properties defined for the mailFolder. Read-only. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? MultiValueExtendedProperties { get; set; }
+ public List? MultiValueExtendedProperties { get; set; }
#nullable restore
#else
- public List MultiValueExtendedProperties { get; set; }
+ public List MultiValueExtendedProperties { get; set; }
#endif
/// The unique identifier for the mailFolder's parent mailFolder.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -62,10 +65,10 @@ public class MailFolder : Entity, IParsable
/// The collection of single-value extended properties defined for the mailFolder. Read-only. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? SingleValueExtendedProperties { get; set; }
+ public List? SingleValueExtendedProperties { get; set; }
#nullable restore
#else
- public List SingleValueExtendedProperties { get; set; }
+ public List SingleValueExtendedProperties { get; set; }
#endif
/// The number of items in the mailFolder.
public int? TotalItemCount { get; set; }
@@ -74,12 +77,12 @@ public class MailFolder : Entity, IParsable
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new MailFolder CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.MailFolder CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new MailFolder();
+ return new Graphdotnetv4.Models.MailFolder();
}
///
/// The deserialization information for the current model
@@ -89,17 +92,17 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- {"childFolderCount", n => { ChildFolderCount = n.GetIntValue(); } },
- {"childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(MailFolder.CreateFromDiscriminatorValue)?.ToList(); } },
- {"displayName", n => { DisplayName = n.GetStringValue(); } },
- {"isHidden", n => { IsHidden = n.GetBoolValue(); } },
- {"messageRules", n => { MessageRules = n.GetCollectionOfObjectValues(MessageRule.CreateFromDiscriminatorValue)?.ToList(); } },
- {"messages", n => { Messages = n.GetCollectionOfObjectValues(Message.CreateFromDiscriminatorValue)?.ToList(); } },
- {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
- {"parentFolderId", n => { ParentFolderId = n.GetStringValue(); } },
- {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
- {"totalItemCount", n => { TotalItemCount = n.GetIntValue(); } },
- {"unreadItemCount", n => { UnreadItemCount = n.GetIntValue(); } },
+ { "childFolderCount", n => { ChildFolderCount = n.GetIntValue(); } },
+ { "childFolders", n => { ChildFolders = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.MailFolder.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "displayName", n => { DisplayName = n.GetStringValue(); } },
+ { "isHidden", n => { IsHidden = n.GetBoolValue(); } },
+ { "messageRules", n => { MessageRules = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.MessageRule.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "messages", n => { Messages = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Message.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } },
+ { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "totalItemCount", n => { TotalItemCount = n.GetIntValue(); } },
+ { "unreadItemCount", n => { UnreadItemCount = n.GetIntValue(); } },
};
}
///
@@ -111,14 +114,14 @@ public override void Serialize(ISerializationWriter writer)
_ = writer ?? throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
writer.WriteIntValue("childFolderCount", ChildFolderCount);
- writer.WriteCollectionOfObjectValues("childFolders", ChildFolders);
+ writer.WriteCollectionOfObjectValues("childFolders", ChildFolders);
writer.WriteStringValue("displayName", DisplayName);
writer.WriteBoolValue("isHidden", IsHidden);
- writer.WriteCollectionOfObjectValues("messageRules", MessageRules);
- writer.WriteCollectionOfObjectValues("messages", Messages);
- writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties);
+ writer.WriteCollectionOfObjectValues("messageRules", MessageRules);
+ writer.WriteCollectionOfObjectValues("messages", Messages);
+ writer.WriteCollectionOfObjectValues("multiValueExtendedProperties", MultiValueExtendedProperties);
writer.WriteStringValue("parentFolderId", ParentFolderId);
- writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties);
+ writer.WriteCollectionOfObjectValues("singleValueExtendedProperties", SingleValueExtendedProperties);
writer.WriteIntValue("totalItemCount", TotalItemCount);
writer.WriteIntValue("unreadItemCount", UnreadItemCount);
}
diff --git a/msgraph-mail/dotnet/Models/MailFolderCollectionResponse.cs b/msgraph-mail/dotnet/Models/MailFolderCollectionResponse.cs
index 153c8f533..5afb4b12f 100644
--- a/msgraph-mail/dotnet/Models/MailFolderCollectionResponse.cs
+++ b/msgraph-mail/dotnet/Models/MailFolderCollectionResponse.cs
@@ -4,8 +4,11 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class MailFolderCollectionResponse : IAdditionalDataHolder, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class MailFolderCollectionResponse : 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; }
@@ -20,13 +23,13 @@ public class MailFolderCollectionResponse : IAdditionalDataHolder, IParsable
/// The value property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Value { get; set; }
+ public List? Value { get; set; }
#nullable restore
#else
- public List Value { get; set; }
+ public List Value { get; set; }
#endif
///
- /// Instantiates a new and sets the default values.
+ /// Instantiates a new and sets the default values.
///
public MailFolderCollectionResponse()
{
@@ -35,12 +38,12 @@ public MailFolderCollectionResponse()
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static MailFolderCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static Graphdotnetv4.Models.MailFolderCollectionResponse CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new MailFolderCollectionResponse();
+ return new Graphdotnetv4.Models.MailFolderCollectionResponse();
}
///
/// The deserialization information for the current model
@@ -50,8 +53,8 @@ public virtual IDictionary> GetFieldDeserializers()
{
return new Dictionary>
{
- {"@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
- {"value", n => { Value = n.GetCollectionOfObjectValues(MailFolder.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "@odata.nextLink", n => { OdataNextLink = n.GetStringValue(); } },
+ { "value", n => { Value = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.MailFolder.CreateFromDiscriminatorValue)?.ToList(); } },
};
}
///
@@ -62,7 +65,7 @@ public virtual void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteStringValue("@odata.nextLink", OdataNextLink);
- writer.WriteCollectionOfObjectValues("value", Value);
+ writer.WriteCollectionOfObjectValues("value", Value);
writer.WriteAdditionalData(AdditionalData);
}
}
diff --git a/msgraph-mail/dotnet/Models/Message.cs b/msgraph-mail/dotnet/Models/Message.cs
index 005a1c674..ab20021e3 100644
--- a/msgraph-mail/dotnet/Models/Message.cs
+++ b/msgraph-mail/dotnet/Models/Message.cs
@@ -4,32 +4,35 @@
using System.IO;
using System.Linq;
using System;
-namespace Graphdotnetv4.Models {
- public class Message : OutlookItem, IParsable
+namespace Graphdotnetv4.Models
+{
+ #pragma warning disable CS1591
+ public class Message : Graphdotnetv4.Models.OutlookItem, IParsable
+ #pragma warning restore CS1591
{
/// The fileAttachment and itemAttachment attachments for the message.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Attachments { get; set; }
+ public List? Attachments { get; set; }
#nullable restore
#else
- public List Attachments { get; set; }
+ public List Attachments { get; set; }
#endif
/// The Bcc: recipients for the message.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? BccRecipients { get; set; }
+ public List? BccRecipients { get; set; }
#nullable restore
#else
- public List BccRecipients { get; set; }
+ public List BccRecipients { get; set; }
#endif
/// The body property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public ItemBody? Body { get; set; }
+ public Graphdotnetv4.Models.ItemBody? Body { get; set; }
#nullable restore
#else
- public ItemBody Body { get; set; }
+ public Graphdotnetv4.Models.ItemBody Body { get; set; }
#endif
/// The first 255 characters of the message body. It is in text format.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -42,10 +45,10 @@ public class Message : OutlookItem, IParsable
/// The Cc: recipients for the message.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? CcRecipients { get; set; }
+ public List? CcRecipients { get; set; }
#nullable restore
#else
- public List CcRecipients { get; set; }
+ public List CcRecipients { get; set; }
#endif
/// The ID of the conversation the email belongs to.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -66,42 +69,42 @@ public class Message : OutlookItem, IParsable
/// The collection of open extensions defined for the message. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? Extensions { get; set; }
+ public List? Extensions { get; set; }
#nullable restore
#else
- public List Extensions { get; set; }
+ public List Extensions { get; set; }
#endif
/// The flag property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public FollowupFlag? Flag { get; set; }
+ public Graphdotnetv4.Models.FollowupFlag? Flag { get; set; }
#nullable restore
#else
- public FollowupFlag Flag { get; set; }
+ public Graphdotnetv4.Models.FollowupFlag Flag { get; set; }
#endif
/// The from property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public Recipient? From { get; set; }
+ public Graphdotnetv4.Models.Recipient? From { get; set; }
#nullable restore
#else
- public Recipient From { get; set; }
+ public Graphdotnetv4.Models.Recipient From { get; set; }
#endif
/// Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src='cid:image001.jpg@01D26CD8.6C05F070'>.
public bool? HasAttachments { get; set; }
/// The importance property
public Graphdotnetv4.Models.Importance? Importance { get; set; }
/// The inferenceClassification property
- public InferenceClassificationType? InferenceClassification { get; set; }
- /// The internetMessageHeaders property
+ public Graphdotnetv4.Models.InferenceClassificationType? InferenceClassification { get; set; }
+ /// A collection of message headers defined by RFC5322. The set includes message headers indicating the network path taken by a message from the sender to the recipient. It can also contain custom message headers that hold app data for the message. Returned only on applying a $select query option. Read-only.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? InternetMessageHeaders { get; set; }
+ public List? InternetMessageHeaders { get; set; }
#nullable restore
#else
- public List InternetMessageHeaders { get; set; }
+ public List InternetMessageHeaders { get; set; }
#endif
- /// The internetMessageId property
+ /// The message ID in the format specified by RFC2822.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? InternetMessageId { get; set; }
@@ -109,23 +112,23 @@ public class Message : OutlookItem, IParsable
#else
public string InternetMessageId { get; set; }
#endif
- /// The isDeliveryReceiptRequested property
+ /// Indicates whether a read receipt is requested for the message.
public bool? IsDeliveryReceiptRequested { get; set; }
- /// The isDraft property
+ /// Indicates whether the message is a draft. A message is a draft if it hasn't been sent yet.
public bool? IsDraft { get; set; }
- /// The isRead property
+ /// Indicates whether the message has been read.
public bool? IsRead { get; set; }
- /// The isReadReceiptRequested property
+ /// Indicates whether a read receipt is requested for the message.
public bool? IsReadReceiptRequested { get; set; }
/// The collection of multi-value extended properties defined for the message. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? MultiValueExtendedProperties { get; set; }
+ public List? MultiValueExtendedProperties { get; set; }
#nullable restore
#else
- public List MultiValueExtendedProperties { get; set; }
+ public List MultiValueExtendedProperties { get; set; }
#endif
- /// The parentFolderId property
+ /// The unique identifier for the message's parent mailFolder.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? ParentFolderId { get; set; }
@@ -133,35 +136,35 @@ public class Message : OutlookItem, IParsable
#else
public string ParentFolderId { get; set; }
#endif
- /// The receivedDateTime property
+ /// The date and time the message was received. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
public DateTimeOffset? ReceivedDateTime { get; set; }
- /// The replyTo property
+ /// The email addresses to use when replying.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? ReplyTo { get; set; }
+ public List? ReplyTo { get; set; }
#nullable restore
#else
- public List ReplyTo { get; set; }
+ public List ReplyTo { get; set; }
#endif
/// The sender property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public Recipient? Sender { get; set; }
+ public Graphdotnetv4.Models.Recipient? Sender { get; set; }
#nullable restore
#else
- public Recipient Sender { get; set; }
+ public Graphdotnetv4.Models.Recipient Sender { get; set; }
#endif
- /// The sentDateTime property
+ /// The date and time the message was sent. The date and time information uses ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
public DateTimeOffset? SentDateTime { get; set; }
/// The collection of single-value extended properties defined for the message. Nullable.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? SingleValueExtendedProperties { get; set; }
+ public List? SingleValueExtendedProperties { get; set; }
#nullable restore
#else
- public List SingleValueExtendedProperties { get; set; }
+ public List SingleValueExtendedProperties { get; set; }
#endif
- /// The subject property
+ /// The subject of the message.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? Subject { get; set; }
@@ -169,23 +172,23 @@ public class Message : OutlookItem, IParsable
#else
public string Subject { get; set; }
#endif
- /// The toRecipients property
+ /// The To: recipients for the message.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public List? ToRecipients { get; set; }
+ public List? ToRecipients { get; set; }
#nullable restore
#else
- public List ToRecipients { get; set; }
+ public List ToRecipients { get; set; }
#endif
/// The uniqueBody property
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public ItemBody? UniqueBody { get; set; }
+ public Graphdotnetv4.Models.ItemBody? UniqueBody { get; set; }
#nullable restore
#else
- public ItemBody UniqueBody { get; set; }
+ public Graphdotnetv4.Models.ItemBody UniqueBody { get; set; }
#endif
- /// The webLink property
+ /// The URL to open the message in Outlook on the web.You can append an ispopout argument to the end of the URL to change how the message is displayed. If ispopout is not present or if it is set to 1, then the message is shown in a popout window. If ispopout is set to 0, the browser shows the message in the Outlook on the web review pane.The message opens in the browser if you are signed in to your mailbox via Outlook on the web. You are prompted to sign in if you are not already signed in with the browser.This URL cannot be accessed from within an iFrame.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public string? WebLink { get; set; }
@@ -196,12 +199,12 @@ public class Message : OutlookItem, IParsable
///
/// Creates a new instance of the appropriate class based on discriminator value
///
- /// A
+ /// A
/// The parse node to use to read the discriminator value and create the object
- public static new Message CreateFromDiscriminatorValue(IParseNode parseNode)
+ public static new Graphdotnetv4.Models.Message CreateFromDiscriminatorValue(IParseNode parseNode)
{
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
- return new Message();
+ return new Graphdotnetv4.Models.Message();
}
///
/// The deserialization information for the current model
@@ -211,36 +214,36 @@ public override IDictionary> GetFieldDeserializers()
{
return new Dictionary>(base.GetFieldDeserializers())
{
- {"attachments", n => { Attachments = n.GetCollectionOfObjectValues(Attachment.CreateFromDiscriminatorValue)?.ToList(); } },
- {"bccRecipients", n => { BccRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
- {"body", n => { Body = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } },
- {"bodyPreview", n => { BodyPreview = n.GetStringValue(); } },
- {"ccRecipients", n => { CcRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
- {"conversationId", n => { ConversationId = n.GetStringValue(); } },
- {"conversationIndex", n => { ConversationIndex = n.GetByteArrayValue(); } },
- {"extensions", n => { Extensions = n.GetCollectionOfObjectValues(Extension.CreateFromDiscriminatorValue)?.ToList(); } },
- {"flag", n => { Flag = n.GetObjectValue(FollowupFlag.CreateFromDiscriminatorValue); } },
- {"from", n => { From = n.GetObjectValue(Recipient.CreateFromDiscriminatorValue); } },
- {"hasAttachments", n => { HasAttachments = n.GetBoolValue(); } },
- {"importance", n => { Importance = n.GetEnumValue(); } },
- {"inferenceClassification", n => { InferenceClassification = n.GetEnumValue(); } },
- {"internetMessageHeaders", n => { InternetMessageHeaders = n.GetCollectionOfObjectValues(InternetMessageHeader.CreateFromDiscriminatorValue)?.ToList(); } },
- {"internetMessageId", n => { InternetMessageId = n.GetStringValue(); } },
- {"isDeliveryReceiptRequested", n => { IsDeliveryReceiptRequested = n.GetBoolValue(); } },
- {"isDraft", n => { IsDraft = n.GetBoolValue(); } },
- {"isRead", n => { IsRead = n.GetBoolValue(); } },
- {"isReadReceiptRequested", n => { IsReadReceiptRequested = n.GetBoolValue(); } },
- {"multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
- {"parentFolderId", n => { ParentFolderId = n.GetStringValue(); } },
- {"receivedDateTime", n => { ReceivedDateTime = n.GetDateTimeOffsetValue(); } },
- {"replyTo", n => { ReplyTo = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
- {"sender", n => { Sender = n.GetObjectValue(Recipient.CreateFromDiscriminatorValue); } },
- {"sentDateTime", n => { SentDateTime = n.GetDateTimeOffsetValue(); } },
- {"singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
- {"subject", n => { Subject = n.GetStringValue(); } },
- {"toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
- {"uniqueBody", n => { UniqueBody = n.GetObjectValue(ItemBody.CreateFromDiscriminatorValue); } },
- {"webLink", n => { WebLink = n.GetStringValue(); } },
+ { "attachments", n => { Attachments = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Attachment.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "bccRecipients", n => { BccRecipients = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "body", n => { Body = n.GetObjectValue(Graphdotnetv4.Models.ItemBody.CreateFromDiscriminatorValue); } },
+ { "bodyPreview", n => { BodyPreview = n.GetStringValue(); } },
+ { "ccRecipients", n => { CcRecipients = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "conversationId", n => { ConversationId = n.GetStringValue(); } },
+ { "conversationIndex", n => { ConversationIndex = n.GetByteArrayValue(); } },
+ { "extensions", n => { Extensions = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Extension.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "flag", n => { Flag = n.GetObjectValue(Graphdotnetv4.Models.FollowupFlag.CreateFromDiscriminatorValue); } },
+ { "from", n => { From = n.GetObjectValue(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue); } },
+ { "hasAttachments", n => { HasAttachments = n.GetBoolValue(); } },
+ { "importance", n => { Importance = n.GetEnumValue(); } },
+ { "inferenceClassification", n => { InferenceClassification = n.GetEnumValue(); } },
+ { "internetMessageHeaders", n => { InternetMessageHeaders = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.InternetMessageHeader.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "internetMessageId", n => { InternetMessageId = n.GetStringValue(); } },
+ { "isDeliveryReceiptRequested", n => { IsDeliveryReceiptRequested = n.GetBoolValue(); } },
+ { "isDraft", n => { IsDraft = n.GetBoolValue(); } },
+ { "isRead", n => { IsRead = n.GetBoolValue(); } },
+ { "isReadReceiptRequested", n => { IsReadReceiptRequested = n.GetBoolValue(); } },
+ { "multiValueExtendedProperties", n => { MultiValueExtendedProperties = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.MultiValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "parentFolderId", n => { ParentFolderId = n.GetStringValue(); } },
+ { "receivedDateTime", n => { ReceivedDateTime = n.GetDateTimeOffsetValue(); } },
+ { "replyTo", n => { ReplyTo = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "sender", n => { Sender = n.GetObjectValue(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue); } },
+ { "sentDateTime", n => { SentDateTime = n.GetDateTimeOffsetValue(); } },
+ { "singleValueExtendedProperties", n => { SingleValueExtendedProperties = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.SingleValueLegacyExtendedProperty.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "subject", n => { Subject = n.GetStringValue(); } },
+ { "toRecipients", n => { ToRecipients = n.GetCollectionOfObjectValues(Graphdotnetv4.Models.Recipient.CreateFromDiscriminatorValue)?.ToList(); } },
+ { "uniqueBody", n => { UniqueBody = n.GetObjectValue(Graphdotnetv4.Models.ItemBody.CreateFromDiscriminatorValue); } },
+ { "webLink", n => { WebLink = n.GetStringValue(); } },
};
}
///
@@ -251,35 +254,35 @@ public override void Serialize(ISerializationWriter writer)
{
_ = writer ?? throw new ArgumentNullException(nameof(writer));
base.Serialize(writer);
- writer.WriteCollectionOfObjectValues("attachments", Attachments);
- writer.WriteCollectionOfObjectValues("bccRecipients", BccRecipients);
- writer.WriteObjectValue("body", Body);
+ writer.WriteCollectionOfObjectValues("attachments", Attachments);
+ writer.WriteCollectionOfObjectValues("bccRecipients", BccRecipients);
+ writer.WriteObjectValue