diff --git a/msgraph-mail/dotnet/ApiClient.cs b/msgraph-mail/dotnet/ApiClient.cs
index cd9875550..291fb2d69 100644
--- a/msgraph-mail/dotnet/ApiClient.cs
+++ b/msgraph-mail/dotnet/ApiClient.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users;
namespace Graphdotnetv4 {
/// The main entry point of the SDK, exposes the configuration and the fluent API.
public class ApiClient {
@@ -14,11 +14,17 @@ public class ApiClient {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "https://graph.microsoft.com/v1.0";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
public UsersRequestBuilder Users { get =>
new UsersRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
+ ///
+ /// Instantiates a new ApiClient and sets the default values.
+ ///
+ public ApiClient() {
+ PathSegment = "https://graph.microsoft.com/v1.0";
+ }
}
}
diff --git a/msgraph-mail/dotnet/Users/Attachment.cs b/msgraph-mail/dotnet/Users/Attachment.cs
index c9fb9800d..1117b3841 100644
--- a/msgraph-mail/dotnet/Users/Attachment.cs
+++ b/msgraph-mail/dotnet/Users/Attachment.cs
@@ -27,7 +27,7 @@ public class Attachment : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/DateTimeTimeZone.cs b/msgraph-mail/dotnet/Users/DateTimeTimeZone.cs
index 6b5594cea..1f5ed107a 100644
--- a/msgraph-mail/dotnet/Users/DateTimeTimeZone.cs
+++ b/msgraph-mail/dotnet/Users/DateTimeTimeZone.cs
@@ -5,12 +5,18 @@
namespace Graphdotnetv4.Users {
public class DateTimeTimeZone : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.
public string DateTime { get; set; }
/// Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.
public string TimeZone { get; set; }
///
+ /// Instantiates a new dateTimeTimeZone and sets the default values.
+ ///
+ public DateTimeTimeZone() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -20,7 +26,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/EmailAddress.cs b/msgraph-mail/dotnet/Users/EmailAddress.cs
index 8247e6d9b..edceb5c2d 100644
--- a/msgraph-mail/dotnet/Users/EmailAddress.cs
+++ b/msgraph-mail/dotnet/Users/EmailAddress.cs
@@ -5,12 +5,18 @@
namespace Graphdotnetv4.Users {
public class EmailAddress : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// The email address of an entity instance.
public string Address { get; set; }
/// The display name of an entity instance.
public string Name { get; set; }
///
+ /// Instantiates a new emailAddress and sets the default values.
+ ///
+ public EmailAddress() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -20,7 +26,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Entity.cs b/msgraph-mail/dotnet/Users/Entity.cs
index 3ef2a65cb..b1e0882c8 100644
--- a/msgraph-mail/dotnet/Users/Entity.cs
+++ b/msgraph-mail/dotnet/Users/Entity.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users {
public class Entity : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// Read-only.
public string Id { get; set; }
///
+ /// Instantiates a new entity and sets the default values.
+ ///
+ public Entity() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -17,7 +23,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Extension.cs b/msgraph-mail/dotnet/Users/Extension.cs
index 66d1e4a93..ad50e8403 100644
--- a/msgraph-mail/dotnet/Users/Extension.cs
+++ b/msgraph-mail/dotnet/Users/Extension.cs
@@ -12,7 +12,7 @@ public class Extension : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/FollowupFlag.cs b/msgraph-mail/dotnet/Users/FollowupFlag.cs
index c45815059..58de4551c 100644
--- a/msgraph-mail/dotnet/Users/FollowupFlag.cs
+++ b/msgraph-mail/dotnet/Users/FollowupFlag.cs
@@ -5,12 +5,18 @@
namespace Graphdotnetv4.Users {
public class FollowupFlag : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public DateTimeTimeZone CompletedDateTime { get; set; }
public DateTimeTimeZone DueDateTime { get; set; }
public FollowupFlagStatus? FlagStatus { get; set; }
public DateTimeTimeZone StartDateTime { get; set; }
///
+ /// Instantiates a new followupFlag and sets the default values.
+ ///
+ public FollowupFlag() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -22,7 +28,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassification.cs b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassification.cs
index 9fcab3ef6..9e8cd38e2 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassification.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassification.cs
@@ -15,7 +15,7 @@ public class InferenceClassification : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationOverride.cs b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationOverride.cs
index d847fe5d3..6ac26d726 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationOverride.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationOverride.cs
@@ -16,7 +16,7 @@ public class InferenceClassificationOverride : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationRequestBuilder.cs b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationRequestBuilder.cs
index 0e0e84269..fb70b6b83 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/InferenceClassificationRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.InferenceClassification.Overrides;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.InferenceClassification.Overrides;
namespace Graphdotnetv4.Users.InferenceClassification {
/// Builds and executes requests for operations under \users\{user-id}\inferenceClassification
public class InferenceClassificationRequestBuilder {
@@ -17,10 +17,16 @@ public class InferenceClassificationRequestBuilder {
new OverridesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/inferenceClassification";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new InferenceClassificationRequestBuilder and sets the default values.
+ ///
+ public InferenceClassificationRequestBuilder() {
+ PathSegment = "/inferenceClassification";
+ }
+ ///
/// Delete navigation property inferenceClassification for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/Item/InferenceClassificationOverrideRequestBuilder.cs b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/Item/InferenceClassificationOverrideRequestBuilder.cs
index 87b5fd00e..52793778b 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/Item/InferenceClassificationOverrideRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/Item/InferenceClassificationOverrideRequestBuilder.cs
@@ -13,10 +13,16 @@ public class InferenceClassificationOverrideRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new InferenceClassificationOverrideRequestBuilder and sets the default values.
+ ///
+ public InferenceClassificationOverrideRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property overrides for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesRequestBuilder.cs b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesRequestBuilder.cs
index 5ccf0f2ac..a87e0554f 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.InferenceClassification.Overrides.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.InferenceClassification.Overrides.Item;
namespace Graphdotnetv4.Users.InferenceClassification.Overrides {
/// Builds and executes requests for operations under \users\{user-id}\inferenceClassification\overrides
public class OverridesRequestBuilder {
@@ -14,7 +14,7 @@ public class OverridesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/overrides";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.inferenceClassification.overrides collection
@@ -22,6 +22,12 @@ public InferenceClassificationOverrideRequestBuilder this[string position] { get
return new InferenceClassificationOverrideRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new OverridesRequestBuilder and sets the default values.
+ ///
+ public OverridesRequestBuilder() {
+ PathSegment = "/overrides";
+ }
+ ///
/// Get overrides from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesResponse.cs b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesResponse.cs
index 157dd01f1..e250406de 100644
--- a/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesResponse.cs
+++ b/msgraph-mail/dotnet/Users/InferenceClassification/Overrides/OverridesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.InferenceClassification.Overrides {
public class OverridesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new OverridesResponse and sets the default values.
+ ///
+ public OverridesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/InternetMessageHeader.cs b/msgraph-mail/dotnet/Users/InternetMessageHeader.cs
index f2722f905..e818da654 100644
--- a/msgraph-mail/dotnet/Users/InternetMessageHeader.cs
+++ b/msgraph-mail/dotnet/Users/InternetMessageHeader.cs
@@ -5,12 +5,18 @@
namespace Graphdotnetv4.Users {
public class InternetMessageHeader : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// Represents the key in a key-value pair.
public string Name { get; set; }
/// The value in a key-value pair.
public string Value { get; set; }
///
+ /// Instantiates a new internetMessageHeader and sets the default values.
+ ///
+ public InternetMessageHeader() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -20,7 +26,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Item/UserRequestBuilder.cs b/msgraph-mail/dotnet/Users/Item/UserRequestBuilder.cs
index c20468475..037da7cf8 100644
--- a/msgraph-mail/dotnet/Users/Item/UserRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Item/UserRequestBuilder.cs
@@ -1,3 +1,6 @@
+using Graphdotnetv4.Users.InferenceClassification;
+using Graphdotnetv4.Users.MailFolders;
+using Graphdotnetv4.Users.Messages;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,9 +8,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.InferenceClassification;
-using Graphdotnetv4.Users.MailFolders;
-using Graphdotnetv4.Users.Messages;
namespace Graphdotnetv4.Users.Item {
/// Builds and executes requests for operations under \users\{user-id}
public class UserRequestBuilder {
@@ -25,8 +25,14 @@ public class UserRequestBuilder {
new MessagesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
+ ///
+ /// Instantiates a new UserRequestBuilder and sets the default values.
+ ///
+ public UserRequestBuilder() {
+ PathSegment = "";
+ }
}
}
diff --git a/msgraph-mail/dotnet/Users/ItemBody.cs b/msgraph-mail/dotnet/Users/ItemBody.cs
index a7378f75f..8643bd923 100644
--- a/msgraph-mail/dotnet/Users/ItemBody.cs
+++ b/msgraph-mail/dotnet/Users/ItemBody.cs
@@ -5,11 +5,17 @@
namespace Graphdotnetv4.Users {
public class ItemBody : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// The content of the item.
public string Content { get; set; }
public BodyType? ContentType { get; set; }
///
+ /// Instantiates a new itemBody and sets the default values.
+ ///
+ public ItemBody() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -19,7 +25,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolder.cs b/msgraph-mail/dotnet/Users/MailFolder.cs
index a1d6e1847..9331aa239 100644
--- a/msgraph-mail/dotnet/Users/MailFolder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolder.cs
@@ -45,7 +45,7 @@ public class MailFolder : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersRequestBuilder.cs
index 06793890e..be8cc2845 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.ChildFolders.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.ChildFolders.Item;
namespace Graphdotnetv4.Users.MailFolders.ChildFolders {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\childFolders
public class ChildFoldersRequestBuilder {
@@ -14,7 +14,7 @@ public class ChildFoldersRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/childFolders";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.childFolders collection
@@ -22,6 +22,12 @@ public MailFolderRequestBuilder this[string position] { get {
return new MailFolderRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new ChildFoldersRequestBuilder and sets the default values.
+ ///
+ public ChildFoldersRequestBuilder() {
+ PathSegment = "/childFolders";
+ }
+ ///
/// Get childFolders from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersResponse.cs
index 55d7c55cf..eba1b35ab 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/ChildFoldersResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.ChildFolders {
public class ChildFoldersResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new ChildFoldersResponse and sets the default values.
+ ///
+ public ChildFoldersResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/Item/MailFolderRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/Item/MailFolderRequestBuilder.cs
index e41b99b20..4772aafd5 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/Item/MailFolderRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/ChildFolders/Item/MailFolderRequestBuilder.cs
@@ -13,10 +13,16 @@ public class MailFolderRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new MailFolderRequestBuilder and sets the default values.
+ ///
+ public MailFolderRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property childFolders for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Item/MailFolderRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Item/MailFolderRequestBuilder.cs
index f22d8d1a8..f0bd18d1b 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Item/MailFolderRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Item/MailFolderRequestBuilder.cs
@@ -1,3 +1,8 @@
+using Graphdotnetv4.Users.MailFolders.ChildFolders;
+using Graphdotnetv4.Users.MailFolders.MessageRules;
+using Graphdotnetv4.Users.MailFolders.Messages;
+using Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties;
+using Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,11 +10,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.ChildFolders;
-using Graphdotnetv4.Users.MailFolders.MessageRules;
-using Graphdotnetv4.Users.MailFolders.Messages;
-using Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties;
-using Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties;
namespace Graphdotnetv4.Users.MailFolders.Item {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}
public class MailFolderRequestBuilder {
@@ -30,13 +30,19 @@ public class MailFolderRequestBuilder {
new MultiValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
public SingleValueExtendedPropertiesRequestBuilder SingleValueExtendedProperties { get =>
new SingleValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
///
+ /// Instantiates a new MailFolderRequestBuilder and sets the default values.
+ ///
+ public MailFolderRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property mailFolders for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MailFoldersRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/MailFoldersRequestBuilder.cs
index 333b9b7fe..99c47eebb 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MailFoldersRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MailFoldersRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Item;
namespace Graphdotnetv4.Users.MailFolders {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders
public class MailFoldersRequestBuilder {
@@ -14,7 +14,7 @@ public class MailFoldersRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/mailFolders";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders collection
@@ -22,6 +22,12 @@ public MailFolderRequestBuilder this[string position] { get {
return new MailFolderRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MailFoldersRequestBuilder and sets the default values.
+ ///
+ public MailFoldersRequestBuilder() {
+ PathSegment = "/mailFolders";
+ }
+ ///
/// Get mailFolders from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MailFoldersResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/MailFoldersResponse.cs
index 0b3bca1e8..759cfdbca 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MailFoldersResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MailFoldersResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders {
public class MailFoldersResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MailFoldersResponse and sets the default values.
+ ///
+ public MailFoldersResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MessageRuleActions.cs b/msgraph-mail/dotnet/Users/MailFolders/MessageRuleActions.cs
index 8b0db245c..d7f8f7856 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MessageRuleActions.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MessageRuleActions.cs
@@ -5,7 +5,7 @@
namespace Graphdotnetv4.Users.MailFolders {
public class MessageRuleActions : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// A list of categories to be assigned to a message.
public List AssignCategories { get; set; }
/// The ID of a folder that a message is to be copied to.
@@ -28,6 +28,12 @@ public class MessageRuleActions : IParsable {
/// Indicates whether subsequent rules should be evaluated.
public bool? StopProcessingRules { get; set; }
///
+ /// Instantiates a new messageRuleActions and sets the default values.
+ ///
+ public MessageRuleActions() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -46,7 +52,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MessageRulePredicates.cs b/msgraph-mail/dotnet/Users/MailFolders/MessageRulePredicates.cs
index f2c017082..388b78b2c 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MessageRulePredicates.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MessageRulePredicates.cs
@@ -5,7 +5,7 @@
namespace Graphdotnetv4.Users.MailFolders {
public class MessageRulePredicates : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
public List BodyContains { get; set; }
/// Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
@@ -63,6 +63,12 @@ public class MessageRulePredicates : IParsable {
public List SubjectContains { get; set; }
public SizeRange WithinSizeRange { get; set; }
///
+ /// Instantiates a new messageRulePredicates and sets the default values.
+ ///
+ public MessageRulePredicates() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -100,7 +106,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/Item/MessageRuleRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/Item/MessageRuleRequestBuilder.cs
index dcc5b9636..3ad698e8a 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/Item/MessageRuleRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/Item/MessageRuleRequestBuilder.cs
@@ -13,10 +13,16 @@ public class MessageRuleRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new MessageRuleRequestBuilder and sets the default values.
+ ///
+ public MessageRuleRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property messageRules for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesRequestBuilder.cs
index 9ad1bd425..3ab3f5e3b 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.MessageRules.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.MessageRules.Item;
namespace Graphdotnetv4.Users.MailFolders.MessageRules {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messageRules
public class MessageRulesRequestBuilder {
@@ -14,7 +14,7 @@ public class MessageRulesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/messageRules";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messageRules collection
@@ -22,6 +22,12 @@ public MessageRuleRequestBuilder this[string position] { get {
return new MessageRuleRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MessageRulesRequestBuilder and sets the default values.
+ ///
+ public MessageRulesRequestBuilder() {
+ PathSegment = "/messageRules";
+ }
+ ///
/// Get messageRules from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesResponse.cs
index e67cbbe35..780c1e1fb 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MessageRules/MessageRulesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.MessageRules {
public class MessageRulesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MessageRulesResponse and sets the default values.
+ ///
+ public MessageRulesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsRequestBuilder.cs
index 978f983a9..705b3cdd4 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Messages.Attachments.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.Attachments.Item;
namespace Graphdotnetv4.Users.MailFolders.Messages.Attachments {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages\{message-id}\attachments
public class AttachmentsRequestBuilder {
@@ -14,7 +14,7 @@ public class AttachmentsRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/attachments";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messages.attachments collection
@@ -22,6 +22,12 @@ public AttachmentRequestBuilder this[string position] { get {
return new AttachmentRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new AttachmentsRequestBuilder and sets the default values.
+ ///
+ public AttachmentsRequestBuilder() {
+ PathSegment = "/attachments";
+ }
+ ///
/// Get attachments from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsResponse.cs
index 906aa452a..7f7805f77 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/AttachmentsResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.Messages.Attachments {
public class AttachmentsResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new AttachmentsResponse and sets the default values.
+ ///
+ public AttachmentsResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/Item/AttachmentRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/Item/AttachmentRequestBuilder.cs
index 3dd28680d..b5308fc63 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/Item/AttachmentRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Attachments/Item/AttachmentRequestBuilder.cs
@@ -13,10 +13,16 @@ public class AttachmentRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new AttachmentRequestBuilder and sets the default values.
+ ///
+ public AttachmentRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property attachments for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Content/ContentRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Content/ContentRequestBuilder.cs
index fb669fbb3..8dbdc6ee5 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Content/ContentRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Content/ContentRequestBuilder.cs
@@ -13,10 +13,16 @@ public class ContentRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/$value";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new ContentRequestBuilder and sets the default values.
+ ///
+ public ContentRequestBuilder() {
+ PathSegment = "/$value";
+ }
+ ///
/// Get media content for the navigation property messages from users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsRequestBuilder.cs
index 053898c8d..536d95c85 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Messages.Extensions.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.Extensions.Item;
namespace Graphdotnetv4.Users.MailFolders.Messages.Extensions {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages\{message-id}\extensions
public class ExtensionsRequestBuilder {
@@ -14,7 +14,7 @@ public class ExtensionsRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/extensions";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messages.extensions collection
@@ -22,6 +22,12 @@ public ExtensionRequestBuilder this[string position] { get {
return new ExtensionRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new ExtensionsRequestBuilder and sets the default values.
+ ///
+ public ExtensionsRequestBuilder() {
+ PathSegment = "/extensions";
+ }
+ ///
/// Get extensions from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsResponse.cs
index 6a3756fda..35fe8677a 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/ExtensionsResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.Messages.Extensions {
public class ExtensionsResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new ExtensionsResponse and sets the default values.
+ ///
+ public ExtensionsResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/Item/ExtensionRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/Item/ExtensionRequestBuilder.cs
index d6ee348d1..bf40f8ac4 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/Item/ExtensionRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Extensions/Item/ExtensionRequestBuilder.cs
@@ -13,10 +13,16 @@ public class ExtensionRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new ExtensionRequestBuilder and sets the default values.
+ ///
+ public ExtensionRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property extensions for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/Item/MessageRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/Item/MessageRequestBuilder.cs
index 871f243b4..dfd0fc31c 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/Item/MessageRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/Item/MessageRequestBuilder.cs
@@ -1,3 +1,8 @@
+using Graphdotnetv4.Users.MailFolders.Messages.Attachments;
+using Graphdotnetv4.Users.MailFolders.Messages.Content;
+using Graphdotnetv4.Users.MailFolders.Messages.Extensions;
+using Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties;
+using Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,11 +10,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.Attachments;
-using Graphdotnetv4.Users.MailFolders.Messages.Content;
-using Graphdotnetv4.Users.MailFolders.Messages.Extensions;
-using Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties;
-using Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties;
namespace Graphdotnetv4.Users.MailFolders.Messages.Item {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages\{message-id}
public class MessageRequestBuilder {
@@ -30,13 +30,19 @@ public class MessageRequestBuilder {
new MultiValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
public SingleValueExtendedPropertiesRequestBuilder SingleValueExtendedProperties { get =>
new SingleValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
///
+ /// Instantiates a new MessageRequestBuilder and sets the default values.
+ ///
+ public MessageRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property messages for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesRequestBuilder.cs
index e57535853..a87f847ee 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Messages.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.Item;
namespace Graphdotnetv4.Users.MailFolders.Messages {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages
public class MessagesRequestBuilder {
@@ -14,7 +14,7 @@ public class MessagesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/messages";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messages collection
@@ -22,6 +22,12 @@ public MessageRequestBuilder this[string position] { get {
return new MessageRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MessagesRequestBuilder and sets the default values.
+ ///
+ public MessagesRequestBuilder() {
+ PathSegment = "/messages";
+ }
+ ///
/// Get messages from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesResponse.cs
index 3ef53fcb3..b9c109130 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/MessagesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.Messages {
public class MessagesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MessagesResponse and sets the default values.
+ ///
+ public MessagesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
index f72a3f1b9..6db1f07ac 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class MultiValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new MultiValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public MultiValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property multiValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
index 04d9b548f..06dc23029 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages\{message-id}\multiValueExtendedProperties
public class MultiValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class MultiValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/multiValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messages.multiValueExtendedProperties collection
@@ -22,6 +22,12 @@ public MultiValueLegacyExtendedPropertyRequestBuilder this[string position] { ge
return new MultiValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MultiValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/multiValueExtendedProperties";
+ }
+ ///
/// Get multiValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
index d7eed6332..0375cdd6c 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.Messages.MultiValueExtendedProperties {
public class MultiValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MultiValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
index 0abd625be..9bef2ceaa 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class SingleValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new SingleValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public SingleValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property singleValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
index 9beceb451..019725bf8 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\messages\{message-id}\singleValueExtendedProperties
public class SingleValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class SingleValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/singleValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.messages.singleValueExtendedProperties collection
@@ -22,6 +22,12 @@ public SingleValueLegacyExtendedPropertyRequestBuilder this[string position] { g
return new SingleValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new SingleValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/singleValueExtendedProperties";
+ }
+ ///
/// Get singleValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
index 0c11ff073..26413854a 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.Messages.SingleValueExtendedProperties {
public class SingleValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new SingleValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
index e7fe65b11..d1e3521b6 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class MultiValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new MultiValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public MultiValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property multiValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
index 4e9c51dca..50805feb1 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\multiValueExtendedProperties
public class MultiValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class MultiValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/multiValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.multiValueExtendedProperties collection
@@ -22,6 +22,12 @@ public MultiValueLegacyExtendedPropertyRequestBuilder this[string position] { ge
return new MultiValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MultiValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/multiValueExtendedProperties";
+ }
+ ///
/// Get multiValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
index 4c26fb4a1..ac1a55d41 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.MultiValueExtendedProperties {
public class MultiValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MultiValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
index 6f9a254aa..c4c13b4d5 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class SingleValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new SingleValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public SingleValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property singleValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
index 310d84bd1..079595051 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\mailFolders\{mailFolder-id}\singleValueExtendedProperties
public class SingleValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class SingleValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/singleValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.mailFolders.singleValueExtendedProperties collection
@@ -22,6 +22,12 @@ public SingleValueLegacyExtendedPropertyRequestBuilder this[string position] { g
return new SingleValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new SingleValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/singleValueExtendedProperties";
+ }
+ ///
/// Get singleValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
index e0b2edf7e..b3caf2e55 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.MailFolders.SingleValueExtendedProperties {
public class SingleValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new SingleValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MailFolders/SizeRange.cs b/msgraph-mail/dotnet/Users/MailFolders/SizeRange.cs
index b8004f13c..1373f56fe 100644
--- a/msgraph-mail/dotnet/Users/MailFolders/SizeRange.cs
+++ b/msgraph-mail/dotnet/Users/MailFolders/SizeRange.cs
@@ -5,12 +5,18 @@
namespace Graphdotnetv4.Users.MailFolders {
public class SizeRange : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
/// The maximum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
public int? MaximumSize { get; set; }
/// The minimum size (in kilobytes) that an incoming message must have in order for a condition or exception to apply.
public int? MinimumSize { get; set; }
///
+ /// Instantiates a new sizeRange and sets the default values.
+ ///
+ public SizeRange() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -20,7 +26,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Message.cs b/msgraph-mail/dotnet/Users/Message.cs
index 88db3103d..f7a6fb8a4 100644
--- a/msgraph-mail/dotnet/Users/Message.cs
+++ b/msgraph-mail/dotnet/Users/Message.cs
@@ -95,7 +95,7 @@ public class Message : OutlookItem, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MessageRule.cs b/msgraph-mail/dotnet/Users/MessageRule.cs
index 7d4cf0fad..86ba4f1fb 100644
--- a/msgraph-mail/dotnet/Users/MessageRule.cs
+++ b/msgraph-mail/dotnet/Users/MessageRule.cs
@@ -1,8 +1,8 @@
+using Graphdotnetv4.Users.MailFolders;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
-using Graphdotnetv4.Users.MailFolders;
namespace Graphdotnetv4.Users {
public class MessageRule : Entity, IParsable {
public MessageRuleActions Actions { get; set; }
@@ -34,7 +34,7 @@ public class MessageRule : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsRequestBuilder.cs
index 5cc29bfcd..68661e1cc 100644
--- a/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Messages.Attachments.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.Attachments.Item;
namespace Graphdotnetv4.Users.Messages.Attachments {
/// Builds and executes requests for operations under \users\{user-id}\messages\{message-id}\attachments
public class AttachmentsRequestBuilder {
@@ -14,7 +14,7 @@ public class AttachmentsRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/attachments";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.messages.attachments collection
@@ -22,6 +22,12 @@ public AttachmentRequestBuilder this[string position] { get {
return new AttachmentRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new AttachmentsRequestBuilder and sets the default values.
+ ///
+ public AttachmentsRequestBuilder() {
+ PathSegment = "/attachments";
+ }
+ ///
/// Get attachments from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsResponse.cs b/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsResponse.cs
index 2c63e4d87..403844277 100644
--- a/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsResponse.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Attachments/AttachmentsResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.Messages.Attachments {
public class AttachmentsResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new AttachmentsResponse and sets the default values.
+ ///
+ public AttachmentsResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Messages/Attachments/Item/AttachmentRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Attachments/Item/AttachmentRequestBuilder.cs
index d3326eafd..3c0c370aa 100644
--- a/msgraph-mail/dotnet/Users/Messages/Attachments/Item/AttachmentRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Attachments/Item/AttachmentRequestBuilder.cs
@@ -13,10 +13,16 @@ public class AttachmentRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new AttachmentRequestBuilder and sets the default values.
+ ///
+ public AttachmentRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property attachments for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/Content/ContentRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Content/ContentRequestBuilder.cs
index 8f61abcf2..b9a92e67e 100644
--- a/msgraph-mail/dotnet/Users/Messages/Content/ContentRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Content/ContentRequestBuilder.cs
@@ -13,10 +13,16 @@ public class ContentRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/$value";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new ContentRequestBuilder and sets the default values.
+ ///
+ public ContentRequestBuilder() {
+ PathSegment = "/$value";
+ }
+ ///
/// Get media content for the navigation property messages from users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsRequestBuilder.cs
index 89831d9db..5cc9008e5 100644
--- a/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Messages.Extensions.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.Extensions.Item;
namespace Graphdotnetv4.Users.Messages.Extensions {
/// Builds and executes requests for operations under \users\{user-id}\messages\{message-id}\extensions
public class ExtensionsRequestBuilder {
@@ -14,7 +14,7 @@ public class ExtensionsRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/extensions";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.messages.extensions collection
@@ -22,6 +22,12 @@ public ExtensionRequestBuilder this[string position] { get {
return new ExtensionRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new ExtensionsRequestBuilder and sets the default values.
+ ///
+ public ExtensionsRequestBuilder() {
+ PathSegment = "/extensions";
+ }
+ ///
/// Get extensions from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsResponse.cs b/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsResponse.cs
index 994652b1b..0651ae654 100644
--- a/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsResponse.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Extensions/ExtensionsResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.Messages.Extensions {
public class ExtensionsResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new ExtensionsResponse and sets the default values.
+ ///
+ public ExtensionsResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Messages/Extensions/Item/ExtensionRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Extensions/Item/ExtensionRequestBuilder.cs
index 79be926af..5f5025ffb 100644
--- a/msgraph-mail/dotnet/Users/Messages/Extensions/Item/ExtensionRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Extensions/Item/ExtensionRequestBuilder.cs
@@ -13,10 +13,16 @@ public class ExtensionRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new ExtensionRequestBuilder and sets the default values.
+ ///
+ public ExtensionRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property extensions for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/Item/MessageRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/Item/MessageRequestBuilder.cs
index 058b64dae..0be562ecd 100644
--- a/msgraph-mail/dotnet/Users/Messages/Item/MessageRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/Item/MessageRequestBuilder.cs
@@ -1,3 +1,8 @@
+using Graphdotnetv4.Users.Messages.Attachments;
+using Graphdotnetv4.Users.Messages.Content;
+using Graphdotnetv4.Users.Messages.Extensions;
+using Graphdotnetv4.Users.Messages.MultiValueExtendedProperties;
+using Graphdotnetv4.Users.Messages.SingleValueExtendedProperties;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,11 +10,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.Attachments;
-using Graphdotnetv4.Users.Messages.Content;
-using Graphdotnetv4.Users.Messages.Extensions;
-using Graphdotnetv4.Users.Messages.MultiValueExtendedProperties;
-using Graphdotnetv4.Users.Messages.SingleValueExtendedProperties;
namespace Graphdotnetv4.Users.Messages.Item {
/// Builds and executes requests for operations under \users\{user-id}\messages\{message-id}
public class MessageRequestBuilder {
@@ -30,13 +30,19 @@ public class MessageRequestBuilder {
new MultiValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
public SingleValueExtendedPropertiesRequestBuilder SingleValueExtendedProperties { get =>
new SingleValueExtendedPropertiesRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment };
}
///
+ /// Instantiates a new MessageRequestBuilder and sets the default values.
+ ///
+ public MessageRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property messages for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/MessagesRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/MessagesRequestBuilder.cs
index 87dbe5a17..5a80e3d9e 100644
--- a/msgraph-mail/dotnet/Users/Messages/MessagesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/MessagesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Messages.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.Item;
namespace Graphdotnetv4.Users.Messages {
/// Builds and executes requests for operations under \users\{user-id}\messages
public class MessagesRequestBuilder {
@@ -14,7 +14,7 @@ public class MessagesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/messages";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.messages collection
@@ -22,6 +22,12 @@ public MessageRequestBuilder this[string position] { get {
return new MessageRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MessagesRequestBuilder and sets the default values.
+ ///
+ public MessagesRequestBuilder() {
+ PathSegment = "/messages";
+ }
+ ///
/// Get messages from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/Messages/MessagesResponse.cs b/msgraph-mail/dotnet/Users/Messages/MessagesResponse.cs
index ee6a95ef4..94bc5af43 100644
--- a/msgraph-mail/dotnet/Users/Messages/MessagesResponse.cs
+++ b/msgraph-mail/dotnet/Users/Messages/MessagesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.Messages {
public class MessagesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MessagesResponse and sets the default values.
+ ///
+ public MessagesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
index 84a4c6836..017b4c7fe 100644
--- a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/Item/MultiValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class MultiValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new MultiValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public MultiValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property multiValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
index 0de2ee2e0..0cef4dfa0 100644
--- a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Messages.MultiValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.MultiValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.Messages.MultiValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\messages\{message-id}\multiValueExtendedProperties
public class MultiValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class MultiValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/multiValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.messages.multiValueExtendedProperties collection
@@ -22,6 +22,12 @@ public MultiValueLegacyExtendedPropertyRequestBuilder this[string position] { ge
return new MultiValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new MultiValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/multiValueExtendedProperties";
+ }
+ ///
/// Get multiValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
index d6e856275..f990faba0 100644
--- a/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/Messages/MultiValueExtendedProperties/MultiValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.Messages.MultiValueExtendedProperties {
public class MultiValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new MultiValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public MultiValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
index 72b0017c1..acf80bf6a 100644
--- a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/Item/SingleValueLegacyExtendedPropertyRequestBuilder.cs
@@ -13,10 +13,16 @@ public class SingleValueLegacyExtendedPropertyRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
///
+ /// Instantiates a new SingleValueLegacyExtendedPropertyRequestBuilder and sets the default values.
+ ///
+ public SingleValueLegacyExtendedPropertyRequestBuilder() {
+ PathSegment = "";
+ }
+ ///
/// Delete navigation property singleValueExtendedProperties for users
/// Request headers
///
diff --git a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
index 0ff28321c..f63912463 100644
--- a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Messages.SingleValueExtendedProperties.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Messages.SingleValueExtendedProperties.Item;
namespace Graphdotnetv4.Users.Messages.SingleValueExtendedProperties {
/// Builds and executes requests for operations under \users\{user-id}\messages\{message-id}\singleValueExtendedProperties
public class SingleValueExtendedPropertiesRequestBuilder {
@@ -14,7 +14,7 @@ public class SingleValueExtendedPropertiesRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/singleValueExtendedProperties";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users.messages.singleValueExtendedProperties collection
@@ -22,6 +22,12 @@ public SingleValueLegacyExtendedPropertyRequestBuilder this[string position] { g
return new SingleValueLegacyExtendedPropertyRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
///
+ /// Instantiates a new SingleValueExtendedPropertiesRequestBuilder and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesRequestBuilder() {
+ PathSegment = "/singleValueExtendedProperties";
+ }
+ ///
/// Get singleValueExtendedProperties from users
/// Request headers
/// Request query parameters
diff --git a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
index 278c32d15..f9b4e0017 100644
--- a/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
+++ b/msgraph-mail/dotnet/Users/Messages/SingleValueExtendedProperties/SingleValueExtendedPropertiesResponse.cs
@@ -5,10 +5,16 @@
namespace Graphdotnetv4.Users.Messages.SingleValueExtendedProperties {
public class SingleValueExtendedPropertiesResponse : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public string NextLink { get; set; }
public List Value { get; set; }
///
+ /// Instantiates a new SingleValueExtendedPropertiesResponse and sets the default values.
+ ///
+ public SingleValueExtendedPropertiesResponse() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -18,7 +24,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/MultiValueLegacyExtendedProperty.cs b/msgraph-mail/dotnet/Users/MultiValueLegacyExtendedProperty.cs
index 6697453c2..9bf05d2a8 100644
--- a/msgraph-mail/dotnet/Users/MultiValueLegacyExtendedProperty.cs
+++ b/msgraph-mail/dotnet/Users/MultiValueLegacyExtendedProperty.cs
@@ -15,7 +15,7 @@ public class MultiValueLegacyExtendedProperty : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/OutlookItem.cs b/msgraph-mail/dotnet/Users/OutlookItem.cs
index 63ea6a68f..81c167a3a 100644
--- a/msgraph-mail/dotnet/Users/OutlookItem.cs
+++ b/msgraph-mail/dotnet/Users/OutlookItem.cs
@@ -24,7 +24,7 @@ public class OutlookItem : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/Recipient.cs b/msgraph-mail/dotnet/Users/Recipient.cs
index 50aeda177..bc143b585 100644
--- a/msgraph-mail/dotnet/Users/Recipient.cs
+++ b/msgraph-mail/dotnet/Users/Recipient.cs
@@ -5,9 +5,15 @@
namespace Graphdotnetv4.Users {
public class Recipient : IParsable {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
- public IDictionary AdditionalData { get; private set; } = new Dictionary();
+ public IDictionary AdditionalData { get; set; }
public EmailAddress EmailAddress { get; set; }
///
+ /// Instantiates a new recipient and sets the default values.
+ ///
+ public Recipient() {
+ AdditionalData = new Dictionary();
+ }
+ ///
/// The deserialization information for the current model
///
public IDictionary> GetFieldDeserializers() {
@@ -16,7 +22,7 @@ public IDictionary> GetFieldDeserializers() {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/SingleValueLegacyExtendedProperty.cs b/msgraph-mail/dotnet/Users/SingleValueLegacyExtendedProperty.cs
index 33ea986ee..b85737112 100644
--- a/msgraph-mail/dotnet/Users/SingleValueLegacyExtendedProperty.cs
+++ b/msgraph-mail/dotnet/Users/SingleValueLegacyExtendedProperty.cs
@@ -15,7 +15,7 @@ public class SingleValueLegacyExtendedProperty : Entity, IParsable {
};
}
///
- /// Serialiazes information the current object
+ /// Serializes information the current object
/// Serialization writer to use to serialize this model
///
public new void Serialize(ISerializationWriter writer) {
diff --git a/msgraph-mail/dotnet/Users/UsersRequestBuilder.cs b/msgraph-mail/dotnet/Users/UsersRequestBuilder.cs
index e8fa72527..ed92b24cf 100644
--- a/msgraph-mail/dotnet/Users/UsersRequestBuilder.cs
+++ b/msgraph-mail/dotnet/Users/UsersRequestBuilder.cs
@@ -1,3 +1,4 @@
+using Graphdotnetv4.Users.Item;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Serialization;
using System;
@@ -5,7 +6,6 @@
using System.IO;
using System.Linq;
using System.Threading.Tasks;
-using Graphdotnetv4.Users.Item;
namespace Graphdotnetv4.Users {
/// Builds and executes requests for operations under \users
public class UsersRequestBuilder {
@@ -14,12 +14,18 @@ public class UsersRequestBuilder {
/// Core service to use to execute the requests
public IHttpCore HttpCore { get; set; }
/// Path segment to use to build the URL for the current request builder
- private string PathSegment { get; set; } = "/users";
+ private string PathSegment { get; set; }
/// Factory to use to get a serializer for payload serialization
public ISerializationWriterFactory SerializerFactory { get; set; }
/// Gets an item from the Graphdotnetv4.users collection
public UserRequestBuilder this[string position] { get {
return new UserRequestBuilder { HttpCore = HttpCore, SerializerFactory = SerializerFactory, CurrentPath = CurrentPath + PathSegment + "/" + position};
} }
+ ///
+ /// Instantiates a new UsersRequestBuilder and sets the default values.
+ ///
+ public UsersRequestBuilder() {
+ PathSegment = "/users";
+ }
}
}
diff --git a/msgraph-mail/java/.settings/org.eclipse.buildship.core.prefs b/msgraph-mail/java/.settings/org.eclipse.buildship.core.prefs
index fcb699352..42df0c148 100644
--- a/msgraph-mail/java/.settings/org.eclipse.buildship.core.prefs
+++ b/msgraph-mail/java/.settings/org.eclipse.buildship.core.prefs
@@ -5,7 +5,7 @@ connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=
eclipse.preferences.version=1
gradle.user.home=
-java.home=C\:/Program Files/AdoptOpenJDK/jdk-16.0.0.36-hotspot
+java.home=C\:/Program Files/AdoptOpenJDK/jdk-16.0.1.9-hotspot
jvm.arguments=
offline.mode=false
override.workspace.settings=true
diff --git a/msgraph-mail/java/app/.classpath b/msgraph-mail/java/app/.classpath
index 93711e04a..5933c3f21 100644
--- a/msgraph-mail/java/app/.classpath
+++ b/msgraph-mail/java/app/.classpath
@@ -6,12 +6,6 @@
-
-
-
-
-
-
@@ -19,14 +13,7 @@
-
-
-
-
-
-
-
-
+
diff --git a/msgraph-mail/java/app/.settings/org.eclipse.buildship.core.prefs b/msgraph-mail/java/app/.settings/org.eclipse.buildship.core.prefs
index b1886adb4..f155ebb43 100644
--- a/msgraph-mail/java/app/.settings/org.eclipse.buildship.core.prefs
+++ b/msgraph-mail/java/app/.settings/org.eclipse.buildship.core.prefs
@@ -1,2 +1,13 @@
-connection.project.dir=..
+arguments=
+auto.sync=false
+build.scans.enabled=false
+connection.gradle.distribution=GRADLE_DISTRIBUTION(LOCAL_INSTALLATION(C\:\\ProgramData\\chocolatey\\lib\\gradle\\tools\\gradle-7.0.2))
+connection.project.dir=
eclipse.preferences.version=1
+gradle.user.home=
+java.home=C\:/Program Files/AdoptOpenJDK/jdk-16.0.1.9-hotspot
+jvm.arguments=
+offline.mode=false
+override.workspace.settings=true
+show.console.view=true
+show.executions.view=true
diff --git a/msgraph-mail/java/utilities/.classpath b/msgraph-mail/java/utilities/.classpath
index 6e87a05d4..5617815c0 100644
--- a/msgraph-mail/java/utilities/.classpath
+++ b/msgraph-mail/java/utilities/.classpath
@@ -6,20 +6,7 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
diff --git a/msgraph-mail/java/utilities/.settings/org.eclipse.buildship.core.prefs b/msgraph-mail/java/utilities/.settings/org.eclipse.buildship.core.prefs
index dc08b6eaf..777998de0 100644
--- a/msgraph-mail/java/utilities/.settings/org.eclipse.buildship.core.prefs
+++ b/msgraph-mail/java/utilities/.settings/org.eclipse.buildship.core.prefs
@@ -2,7 +2,7 @@ arguments=
auto.sync=false
build.scans.enabled=false
connection.gradle.distribution=GRADLE_DISTRIBUTION(LOCAL_INSTALLATION(C\:\\ProgramData\\chocolatey\\lib\\gradle\\tools\\gradle-6.7))
-connection.project.dir=..
+connection.project.dir=../app
eclipse.preferences.version=1
gradle.user.home=
java.home=C\:/Program Files/AdoptOpenJDK/jdk-15.0.1.9-hotspot
diff --git a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/ApiClient.java b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/ApiClient.java
index dae69fbe5..0159b196d 100644
--- a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/ApiClient.java
+++ b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/ApiClient.java
@@ -24,8 +24,7 @@ public class ApiClient {
@javax.annotation.Nullable
public HttpCore httpCore;
/** Path segment to use to build the URL for the current request builder */
- @javax.annotation.Nonnull
- private final String pathSegment = "https://graph.microsoft.com/v1.0";
+ private final String pathSegment;
/** Factory to use to get a serializer for payload serialization */
@javax.annotation.Nullable
public SerializationWriterFactory serializerFactory;
@@ -36,6 +35,13 @@ public UsersRequestBuilder users() {
final SerializationWriterFactory parentSerializationFactory = serializerFactory;
return new UsersRequestBuilder() {{ currentPath = parentPath; httpCore = parentCore; serializerFactory = parentSerializationFactory; }};
}
+ /**
+ * Instantiates a new ApiClient and sets the default values.
+ * @return a void
+ */
+ public ApiClient() {
+ this.pathSegment = "https://graph.microsoft.com/v1.0";
+ }
/**
* Gets an item from the graphjavav4.utilities.users collection
* @param id Unique identifier of the item
diff --git a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/Attachment.java b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/Attachment.java
index 2dc278f1b..1b6dfa5be 100644
--- a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/Attachment.java
+++ b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/Attachment.java
@@ -10,20 +10,62 @@
import java.util.Objects;
public class Attachment extends Entity implements Parsable {
/** The MIME type. */
- @javax.annotation.Nullable
- public String contentType;
+ private String _contentType;
/** true if the attachment is an inline attachment; otherwise, false. */
- @javax.annotation.Nullable
- public Boolean isInline;
+ private Boolean _isInline;
/** The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z */
- @javax.annotation.Nullable
- public OffsetDateTime lastModifiedDateTime;
+ private OffsetDateTime _lastModifiedDateTime;
/** The display name of the attachment. This does not need to be the actual file name. */
- @javax.annotation.Nullable
- public String name;
+ private String _name;
/** The length of the attachment in bytes. */
+ private Integer _size;
+ /**
+ * Instantiates a new attachment and sets the default values.
+ * @return a void
+ */
+ public Attachment() {
+ super();
+ }
+ /**
+ * Gets the contentType property value. The MIME type.
+ * @return a string
+ */
+ @javax.annotation.Nullable
+ public String getContentType() {
+ return this._contentType;
+ }
+ /**
+ * Gets the isInline property value. true if the attachment is an inline attachment; otherwise, false.
+ * @return a boolean
+ */
+ @javax.annotation.Nullable
+ public Boolean getIsInline() {
+ return this._isInline;
+ }
+ /**
+ * Gets the lastModifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
+ * @return a OffsetDateTime
+ */
@javax.annotation.Nullable
- public Integer size;
+ public OffsetDateTime getLastModifiedDateTime() {
+ return this._lastModifiedDateTime;
+ }
+ /**
+ * Gets the name property value. The display name of the attachment. This does not need to be the actual file name.
+ * @return a string
+ */
+ @javax.annotation.Nullable
+ public String getName() {
+ return this._name;
+ }
+ /**
+ * Gets the size property value. The length of the attachment in bytes.
+ * @return a integer
+ */
+ @javax.annotation.Nullable
+ public Integer getSize() {
+ return this._size;
+ }
/**
* The deserialization information for the current model
* @return a Map>
@@ -31,25 +73,65 @@ public class Attachment extends Entity implements Parsable {
@javax.annotation.Nonnull
public Map> getFieldDeserializers() {
return new HashMap<>(super.getFieldDeserializers()) {{
- this.put("contentType", (o, n) -> { ((Attachment)o).contentType = n.getStringValue(); });
- this.put("isInline", (o, n) -> { ((Attachment)o).isInline = n.getBooleanValue(); });
- this.put("lastModifiedDateTime", (o, n) -> { ((Attachment)o).lastModifiedDateTime = n.getOffsetDateTimeValue(); });
- this.put("name", (o, n) -> { ((Attachment)o).name = n.getStringValue(); });
- this.put("size", (o, n) -> { ((Attachment)o).size = n.getIntegerValue(); });
+ this.put("contentType", (o, n) -> { ((Attachment)o).setContentType(n.getStringValue()); });
+ this.put("isInline", (o, n) -> { ((Attachment)o).setIsInline(n.getBooleanValue()); });
+ this.put("lastModifiedDateTime", (o, n) -> { ((Attachment)o).setLastModifiedDateTime(n.getOffsetDateTimeValue()); });
+ this.put("name", (o, n) -> { ((Attachment)o).setName(n.getStringValue()); });
+ this.put("size", (o, n) -> { ((Attachment)o).setSize(n.getIntegerValue()); });
}};
}
/**
- * Serialiazes information the current object
+ * Serializes information the current object
* @param writer Serialization writer to use to serialize this model
* @return a void
*/
public void serialize(@javax.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
super.serialize(writer);
- writer.writeStringValue("contentType", contentType);
- writer.writeBooleanValue("isInline", isInline);
- writer.writeOffsetDateTimeValue("lastModifiedDateTime", lastModifiedDateTime);
- writer.writeStringValue("name", name);
- writer.writeIntegerValue("size", size);
+ writer.writeStringValue("contentType", this.getContentType());
+ writer.writeBooleanValue("isInline", this.getIsInline());
+ writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime());
+ writer.writeStringValue("name", this.getName());
+ writer.writeIntegerValue("size", this.getSize());
+ }
+ /**
+ * Sets the contentType property value. The MIME type.
+ * @param value Value to set for the contentType property.
+ * @return a void
+ */
+ public void setContentType(@javax.annotation.Nullable final String value) {
+ this._contentType = value;
+ }
+ /**
+ * Sets the isInline property value. true if the attachment is an inline attachment; otherwise, false.
+ * @param value Value to set for the isInline property.
+ * @return a void
+ */
+ public void setIsInline(@javax.annotation.Nullable final Boolean value) {
+ this._isInline = value;
+ }
+ /**
+ * Sets the lastModifiedDateTime property value. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z
+ * @param value Value to set for the lastModifiedDateTime property.
+ * @return a void
+ */
+ public void setLastModifiedDateTime(@javax.annotation.Nullable final OffsetDateTime value) {
+ this._lastModifiedDateTime = value;
+ }
+ /**
+ * Sets the name property value. The display name of the attachment. This does not need to be the actual file name.
+ * @param value Value to set for the name property.
+ * @return a void
+ */
+ public void setName(@javax.annotation.Nullable final String value) {
+ this._name = value;
+ }
+ /**
+ * Sets the size property value. The length of the attachment in bytes.
+ * @param value Value to set for the size property.
+ * @return a void
+ */
+ public void setSize(@javax.annotation.Nullable final Integer value) {
+ this._size = value;
}
}
diff --git a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/DateTimeTimeZone.java b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/DateTimeTimeZone.java
index b38b95a09..d20053b9a 100644
--- a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/DateTimeTimeZone.java
+++ b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/DateTimeTimeZone.java
@@ -9,21 +9,41 @@
import java.util.Objects;
public class DateTimeTimeZone implements Parsable {
/** Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */
- @javax.annotation.Nonnull
- private final Map additionalData = new HashMap<>();
+ private Map _additionalData;
/** A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'. */
- @javax.annotation.Nullable
- public String dateTime;
+ private String _dateTime;
/** Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values. */
- @javax.annotation.Nullable
- public String timeZone;
+ private String _timeZone;
+ /**
+ * Instantiates a new dateTimeTimeZone and sets the default values.
+ * @return a void
+ */
+ public DateTimeTimeZone() {
+ this.setAdditionalData(new HashMap<>());
+ }
/**
- * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
* @return a Map
*/
@javax.annotation.Nonnull
public Map getAdditionalData() {
- return additionalData;
+ return this._additionalData;
+ }
+ /**
+ * Gets the dateTime property value. A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.
+ * @return a string
+ */
+ @javax.annotation.Nullable
+ public String getDateTime() {
+ return this._dateTime;
+ }
+ /**
+ * Gets the timeZone property value. Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.
+ * @return a string
+ */
+ @javax.annotation.Nullable
+ public String getTimeZone() {
+ return this._timeZone;
}
/**
* The deserialization information for the current model
@@ -32,19 +52,43 @@ public Map getAdditionalData() {
@javax.annotation.Nonnull
public Map> getFieldDeserializers() {
return new HashMap<>(2) {{
- this.put("dateTime", (o, n) -> { ((DateTimeTimeZone)o).dateTime = n.getStringValue(); });
- this.put("timeZone", (o, n) -> { ((DateTimeTimeZone)o).timeZone = n.getStringValue(); });
+ this.put("dateTime", (o, n) -> { ((DateTimeTimeZone)o).setDateTime(n.getStringValue()); });
+ this.put("timeZone", (o, n) -> { ((DateTimeTimeZone)o).setTimeZone(n.getStringValue()); });
}};
}
/**
- * Serialiazes information the current object
+ * Serializes information the current object
* @param writer Serialization writer to use to serialize this model
* @return a void
*/
public void serialize(@javax.annotation.Nonnull final SerializationWriter writer) {
Objects.requireNonNull(writer);
- writer.writeStringValue("dateTime", dateTime);
- writer.writeStringValue("timeZone", timeZone);
- writer.writeAdditionalData(this.additionalData);
+ writer.writeStringValue("dateTime", this.getDateTime());
+ writer.writeStringValue("timeZone", this.getTimeZone());
+ writer.writeAdditionalData(this.getAdditionalData());
+ }
+ /**
+ * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
+ * @param value Value to set for the AdditionalData property.
+ * @return a void
+ */
+ public void setAdditionalData(@javax.annotation.Nullable final Map value) {
+ this._additionalData = value;
+ }
+ /**
+ * Sets the dateTime property value. A single point of time in a combined date and time representation ({date}T{time}). For example, '2019-04-16T09:00:00'.
+ * @param value Value to set for the dateTime property.
+ * @return a void
+ */
+ public void setDateTime(@javax.annotation.Nullable final String value) {
+ this._dateTime = value;
+ }
+ /**
+ * Sets the timeZone property value. Represents a time zone, for example, 'Pacific Standard Time'. See below for possible values.
+ * @param value Value to set for the timeZone property.
+ * @return a void
+ */
+ public void setTimeZone(@javax.annotation.Nullable final String value) {
+ this._timeZone = value;
}
}
diff --git a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/EmailAddress.java b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/EmailAddress.java
index cb759ea77..151739ffb 100644
--- a/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/EmailAddress.java
+++ b/msgraph-mail/java/utilities/src/main/java/graphjavav4/utilities/users/EmailAddress.java
@@ -9,21 +9,41 @@
import java.util.Objects;
public class EmailAddress implements Parsable {
/** Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */
- @javax.annotation.Nonnull
- private final Map