Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/with url #3417

Merged
merged 9 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 5 additions & 2 deletions msgraph-mail/dotnet/ApiClient.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
// <auto-generated/>
using Graphdotnetv4.Users;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
using Microsoft.Kiota.Serialization.Form;
using Microsoft.Kiota.Serialization.Json;
using Microsoft.Kiota.Serialization.Multipart;
using Microsoft.Kiota.Serialization.Text;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System;
namespace Graphdotnetv4 {
/// <summary>
/// The main entry point of the SDK, exposes the configuration and the fluent API.
Expand All @@ -26,6 +28,7 @@ public class ApiClient : BaseRequestBuilder {
ApiClientBuilder.RegisterDefaultSerializer<JsonSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<TextSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<FormSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultSerializer<MultipartSerializationWriterFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<JsonParseNodeFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<TextParseNodeFactory>();
ApiClientBuilder.RegisterDefaultDeserializer<FormParseNodeFactory>();
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/Attachment.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class Attachment : Entity, IParsable {
/// <summary>The MIME type.</summary>
Expand Down
5 changes: 3 additions & 2 deletions msgraph-mail/dotnet/Models/AttachmentCollectionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class AttachmentCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class AttachmentCollectionResponse : IAdditionalDataHolder, IParsable {
public List<Attachment> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new AttachmentCollectionResponse and sets the default values.
/// Instantiates a new attachmentCollectionResponse and sets the default values.
/// </summary>
public AttachmentCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
5 changes: 5 additions & 0 deletions msgraph-mail/dotnet/Models/BodyType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// <auto-generated/>
using System.Runtime.Serialization;
using System;
namespace Graphdotnetv4.Models {
public enum BodyType {
[EnumMember(Value = "text")]
Text,
[EnumMember(Value = "html")]
Html,
}
}
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/DateTimeTimeZone.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class DateTimeTimeZone : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/EmailAddress.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class EmailAddress : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/Entity.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class Entity : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/Extension.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class Extension : Entity, IParsable {
/// <summary>
Expand Down
5 changes: 3 additions & 2 deletions msgraph-mail/dotnet/Models/ExtensionCollectionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class ExtensionCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class ExtensionCollectionResponse : IAdditionalDataHolder, IParsable {
public List<Extension> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new ExtensionCollectionResponse and sets the default values.
/// Instantiates a new extensionCollectionResponse and sets the default values.
/// </summary>
public ExtensionCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/FollowupFlag.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class FollowupFlag : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
6 changes: 6 additions & 0 deletions msgraph-mail/dotnet/Models/FollowupFlagStatus.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// <auto-generated/>
using System.Runtime.Serialization;
using System;
namespace Graphdotnetv4.Models {
public enum FollowupFlagStatus {
[EnumMember(Value = "notFlagged")]
NotFlagged,
[EnumMember(Value = "complete")]
Complete,
[EnumMember(Value = "flagged")]
Flagged,
}
}
6 changes: 6 additions & 0 deletions msgraph-mail/dotnet/Models/Importance.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// <auto-generated/>
using System.Runtime.Serialization;
using System;
namespace Graphdotnetv4.Models {
public enum Importance {
[EnumMember(Value = "low")]
Low,
[EnumMember(Value = "normal")]
Normal,
[EnumMember(Value = "high")]
High,
}
}
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/InferenceClassification.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class InferenceClassification : Entity, IParsable {
/// <summary>A set of overrides for a user to always classify messages from specific senders in certain ways: focused, or other. Read-only. Nullable.</summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class InferenceClassificationOverride : Entity, IParsable {
/// <summary>The classifyAs property</summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class InferenceClassificationOverrideCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class InferenceClassificationOverrideCollectionResponse : IAdditionalData
public List<InferenceClassificationOverride> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new InferenceClassificationOverrideCollectionResponse and sets the default values.
/// Instantiates a new inferenceClassificationOverrideCollectionResponse and sets the default values.
/// </summary>
public InferenceClassificationOverrideCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
5 changes: 5 additions & 0 deletions msgraph-mail/dotnet/Models/InferenceClassificationType.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// <auto-generated/>
using System.Runtime.Serialization;
using System;
namespace Graphdotnetv4.Models {
public enum InferenceClassificationType {
[EnumMember(Value = "focused")]
Focused,
[EnumMember(Value = "other")]
Other,
}
}
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/InternetMessageHeader.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class InternetMessageHeader : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/ItemBody.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class ItemBody : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/MailFolder.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MailFolder : Entity, IParsable {
/// <summary>The number of immediate child mailFolders in the current mailFolder.</summary>
Expand Down
5 changes: 3 additions & 2 deletions msgraph-mail/dotnet/Models/MailFolderCollectionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MailFolderCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class MailFolderCollectionResponse : IAdditionalDataHolder, IParsable {
public List<MailFolder> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new MailFolderCollectionResponse and sets the default values.
/// Instantiates a new mailFolderCollectionResponse and sets the default values.
/// </summary>
public MailFolderCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/Message.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class Message : OutlookItem, IParsable {
/// <summary>The fileAttachment and itemAttachment attachments for the message.</summary>
Expand Down
14 changes: 14 additions & 0 deletions msgraph-mail/dotnet/Models/MessageActionFlag.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
// <auto-generated/>
using System.Runtime.Serialization;
using System;
namespace Graphdotnetv4.Models {
public enum MessageActionFlag {
[EnumMember(Value = "any")]
Any,
[EnumMember(Value = "call")]
Call,
[EnumMember(Value = "doNotForward")]
DoNotForward,
[EnumMember(Value = "followUp")]
FollowUp,
[EnumMember(Value = "fyi")]
Fyi,
[EnumMember(Value = "forward")]
Forward,
[EnumMember(Value = "noResponseNecessary")]
NoResponseNecessary,
[EnumMember(Value = "read")]
Read,
[EnumMember(Value = "reply")]
Reply,
[EnumMember(Value = "replyToAll")]
ReplyToAll,
[EnumMember(Value = "review")]
Review,
}
}
5 changes: 3 additions & 2 deletions msgraph-mail/dotnet/Models/MessageCollectionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MessageCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class MessageCollectionResponse : IAdditionalDataHolder, IParsable {
public List<Message> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new MessageCollectionResponse and sets the default values.
/// Instantiates a new messageCollectionResponse and sets the default values.
/// </summary>
public MessageCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/MessageRule.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MessageRule : Entity, IParsable {
/// <summary>The actions property</summary>
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/MessageRuleActions.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MessageRuleActions : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
5 changes: 3 additions & 2 deletions msgraph-mail/dotnet/Models/MessageRuleCollectionResponse.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MessageRuleCollectionResponse : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand All @@ -24,7 +25,7 @@ public class MessageRuleCollectionResponse : IAdditionalDataHolder, IParsable {
public List<MessageRule> Value { get; set; }
#endif
/// <summary>
/// Instantiates a new MessageRuleCollectionResponse and sets the default values.
/// Instantiates a new messageRuleCollectionResponse and sets the default values.
/// </summary>
public MessageRuleCollectionResponse() {
AdditionalData = new Dictionary<string, object>();
Expand Down
3 changes: 2 additions & 1 deletion msgraph-mail/dotnet/Models/MessageRulePredicates.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// <auto-generated/>
using Microsoft.Kiota.Abstractions.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System;
namespace Graphdotnetv4.Models {
public class MessageRulePredicates : IAdditionalDataHolder, IParsable {
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
Expand Down
Loading