Skip to content

Commit

Permalink
Release 3.17.0 - pull request #814 from microsoftgraph/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
MIchaelMainer committed Oct 10, 2020
2 parents 527d3c1 + 40b6a0b commit 385fa60
Show file tree
Hide file tree
Showing 60 changed files with 3,727 additions and 87 deletions.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/AppRole.cs
Expand Up @@ -32,7 +32,7 @@ public AppRole()

/// <summary>
/// Gets or sets allowedMemberTypes.
/// Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment of other applications' service principals are also known as application permissions.
/// Specifies whether this app role can be assigned to users and groups (by setting to ['User']), to other application's (by setting to ['Application'], or both (by setting to ['User', 'Application']). App roles supporting assignment to other applications' service principals are also known as application permissions. The 'Application' value is only supported for app roles defined on application entities.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "allowedMemberTypes", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<string> AllowedMemberTypes { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/Calendar.cs
Expand Up @@ -79,6 +79,12 @@ public Calendar()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "defaultOnlineMeetingProvider", Required = Newtonsoft.Json.Required.Default)]
public OnlineMeetingProviderType? DefaultOnlineMeetingProvider { get; set; }

/// <summary>
/// Gets or sets hex color.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "hexColor", Required = Newtonsoft.Json.Required.Default)]
public string HexColor { get; set; }

/// <summary>
/// Gets or sets is removable.
/// Indicates whether this user calendar can be deleted from the user mailbox.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Channel.cs
Expand Up @@ -59,7 +59,7 @@ public Channel()

/// <summary>
/// Gets or sets web url.
/// A hyperlink that will navigate to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
/// A hyperlink that will go to the channel in Microsoft Teams. This is the URL that you get when you right-click a channel in Microsoft Teams and select Get link to channel. This URL should be treated as an opaque blob, and not parsed. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "webUrl", Required = Newtonsoft.Json.Required.Default)]
public string WebUrl { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/ChatMessage.cs
Expand Up @@ -116,6 +116,7 @@ public ChatMessage()

/// <summary>
/// Gets or sets policy violation.
/// Defines the properties of a policy violation set by a data loss prevention (DLP) application.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "policyViolation", Required = Newtonsoft.Json.Required.Default)]
public ChatMessagePolicyViolation PolicyViolation { get; set; }
Expand Down
Expand Up @@ -32,30 +32,35 @@ public ChatMessagePolicyViolation()

/// <summary>
/// Gets or sets dlpAction.
/// The action taken by the DLP provider on the message with sensitive content. Supported values are: NoneNotifySender -- Inform the sender of the violation but allow readers to read the message.BlockAccess -- Block readers from reading the message.BlockAccessExternal -- Block users outside the organization from reading the message, while allowing users within the organization to read the message.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "dlpAction", Required = Newtonsoft.Json.Required.Default)]
public ChatMessagePolicyViolationDlpActionTypes? DlpAction { get; set; }

/// <summary>
/// Gets or sets justificationText.
/// Justification text provided by the sender of the message when overriding a policy violation.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "justificationText", Required = Newtonsoft.Json.Required.Default)]
public string JustificationText { get; set; }

/// <summary>
/// Gets or sets policyTip.
/// Information to display to the message sender about why the message was flagged as a violation.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "policyTip", Required = Newtonsoft.Json.Required.Default)]
public ChatMessagePolicyViolationPolicyTip PolicyTip { get; set; }

/// <summary>
/// Gets or sets userAction.
/// Indicates the action taken by the user on a message blocked by the DLP provider. Supported values are: NoneOverrideReportFalsePositiveWhen the DLP provider is updating the message for blocking sensitive content, userAction is not required.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "userAction", Required = Newtonsoft.Json.Required.Default)]
public ChatMessagePolicyViolationUserActionTypes? UserAction { get; set; }

/// <summary>
/// Gets or sets verdictDetails.
/// Indicates what actions the sender may take in response to the policy violation. Supported values are: NoneAllowFalsePositiveOverride -- Allows the sender to declare the policyViolation to be an error in the DLP app and its rules, and allow readers to see the message again if the dlpAction had hidden it.AllowOverrideWithoutJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, without needing to provide an explanation for doing so. AllowOverrideWithJustification -- Allows the sender to overriide the DLP violation and allow readers to see the message again if the dlpAction had hidden it, after providing an explanation for doing so.AllowOverrideWithoutJustification and AllowOverrideWithJustification are mutually exclusive.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "verdictDetails", Required = Newtonsoft.Json.Required.Default)]
public ChatMessagePolicyViolationVerdictDetailsTypes? VerdictDetails { get; set; }
Expand Down
Expand Up @@ -32,18 +32,21 @@ public ChatMessagePolicyViolationPolicyTip()

/// <summary>
/// Gets or sets complianceUrl.
/// The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats)
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "complianceUrl", Required = Newtonsoft.Json.Required.Default)]
public string ComplianceUrl { get; set; }

/// <summary>
/// Gets or sets generalText.
/// Explanatory text shown to the sender of the message.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "generalText", Required = Newtonsoft.Json.Required.Default)]
public string GeneralText { get; set; }

/// <summary>
/// Gets or sets matchedConditionDescriptions.
/// The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "matchedConditionDescriptions", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<string> MatchedConditionDescriptions { get; set; }
Expand Down
8 changes: 7 additions & 1 deletion src/Microsoft.Graph/Generated/model/Event.cs
Expand Up @@ -74,7 +74,7 @@ public Event()

/// <summary>
/// Gets or sets i cal uid.
/// A unique identifier that is shared by all instances of an event across different calendars. Read-only.
/// A unique identifier for an event across calendars. This ID is different for each occurrence in a recurring series. Read-only.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "iCalUId", Required = Newtonsoft.Json.Required.Default)]
public string ICalUId { get; set; }
Expand All @@ -100,6 +100,12 @@ public Event()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isCancelled", Required = Newtonsoft.Json.Required.Default)]
public bool? IsCancelled { get; set; }

/// <summary>
/// Gets or sets is draft.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "isDraft", Required = Newtonsoft.Json.Required.Default)]
public bool? IsDraft { get; set; }

/// <summary>
/// Gets or sets is online meeting.
/// True if this event has online meeting information, false otherwise. Default is false. Optional.
Expand Down
32 changes: 32 additions & 0 deletions src/Microsoft.Graph/Generated/model/EventCancelRequestBody.cs
@@ -0,0 +1,32 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt

namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

/// <summary>
/// The type EventCancelRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class EventCancelRequestBody
{

/// <summary>
/// Gets or sets Comment.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "Comment", Required = Newtonsoft.Json.Required.Default)]
public string Comment { get; set; }

}
}
38 changes: 38 additions & 0 deletions src/Microsoft.Graph/Generated/model/EventForwardRequestBody.cs
@@ -0,0 +1,38 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\MethodRequestBody.cs.tt

namespace Microsoft.Graph
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;

/// <summary>
/// The type EventForwardRequestBody.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class EventForwardRequestBody
{

/// <summary>
/// Gets or sets ToRecipients.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "ToRecipients", Required = Newtonsoft.Json.Required.Default)]
public IEnumerable<Recipient> ToRecipients { get; set; }

/// <summary>
/// Gets or sets Comment.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "Comment", Required = Newtonsoft.Json.Required.Default)]
public string Comment { get; set; }

}
}
2 changes: 1 addition & 1 deletion src/Microsoft.Graph/Generated/model/Group.cs
Expand Up @@ -116,7 +116,7 @@ public Group()

/// <summary>
/// Gets or sets mail nickname.
/// The mail alias for the group, unique in the organization. This property must be specified when a group is created. Returned by default. Supports $filter.
/// The mail alias for the group, unique in the organization. This property must be specified when a group is created. These characters cannot be used in the mailNickName: @()/[]';:.&amp;lt;&amp;gt;,SPACE. Returned by default. Supports $filter.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "mailNickname", Required = Newtonsoft.Json.Required.Default)]
public string MailNickname { get; set; }
Expand Down
1 change: 1 addition & 0 deletions src/Microsoft.Graph/Generated/model/Subscription.cs
Expand Up @@ -88,6 +88,7 @@ public Subscription()

/// <summary>
/// Gets or sets latest supported tls version.
/// Specifies the latest version of Transport Layer Security (TLS) that the notification endpoint, specified by notificationUrl, supports. The possible values are: v1_0, v1_1, v1_2, v1_3. For subscribers whose notification endpoint supports a version lower than the currently recommended version (TLS 1.2), specifying this property by a set timeline allows them to temporarily use their deprecated version of TLS before completing their upgrade to TLS 1.2. For these subscribers, not setting this property per the timeline would result in subscription operations failing. For subscribers whose notification endpoint already supports TLS 1.2, setting this property is optional. In such cases, Microsoft Graph defaults the property to v1_2.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "latestSupportedTlsVersion", Required = Newtonsoft.Json.Required.Default)]
public string LatestSupportedTlsVersion { get; set; }
Expand Down
48 changes: 48 additions & 0 deletions src/Microsoft.Graph/Generated/model/TaskStatus.cs
@@ -0,0 +1,48 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\EnumType.cs.tt


namespace Microsoft.Graph
{
using Newtonsoft.Json;

/// <summary>
/// The enum TaskStatus.
/// </summary>
[JsonConverter(typeof(EnumConverter))]
public enum TaskStatus
{

/// <summary>
/// Not Started
/// </summary>
NotStarted = 0,

/// <summary>
/// In Progress
/// </summary>
InProgress = 1,

/// <summary>
/// Completed
/// </summary>
Completed = 2,

/// <summary>
/// Waiting On Others
/// </summary>
WaitingOnOthers = 3,

/// <summary>
/// Deferred
/// </summary>
Deferred = 4,

}
}
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/User.cs
Expand Up @@ -763,6 +763,12 @@ public User()
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "joinedTeams", Required = Newtonsoft.Json.Required.Default)]
public IUserJoinedTeamsCollectionPage JoinedTeams { get; set; }

/// <summary>
/// Gets or sets teamwork.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "teamwork", Required = Newtonsoft.Json.Required.Default)]
public UserTeamwork Teamwork { get; set; }

}
}

@@ -0,0 +1,41 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\EntityType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;

/// <summary>
/// The type User Scope Teams App Installation.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class UserScopeTeamsAppInstallation : TeamsAppInstallation
{

///<summary>
/// The UserScopeTeamsAppInstallation constructor
///</summary>
public UserScopeTeamsAppInstallation()
{
this.ODataType = "microsoft.graph.userScopeTeamsAppInstallation";
}

/// <summary>
/// Gets or sets chat.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "chat", Required = Newtonsoft.Json.Required.Default)]
public Chat Chat { get; set; }

}
}

42 changes: 42 additions & 0 deletions src/Microsoft.Graph/Generated/model/UserTeamwork.cs
@@ -0,0 +1,42 @@
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------

// **NOTE** This file was generated by a tool and any changes will be overwritten.
// <auto-generated/>

// Template Source: Templates\CSharp\Model\EntityType.cs.tt

namespace Microsoft.Graph
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using Newtonsoft.Json;

/// <summary>
/// The type User Teamwork.
/// </summary>
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public partial class UserTeamwork : Entity
{

///<summary>
/// The UserTeamwork constructor
///</summary>
public UserTeamwork()
{
this.ODataType = "microsoft.graph.userTeamwork";
}

/// <summary>
/// Gets or sets installed apps.
/// The apps installed in the personal scope of this user.
/// </summary>
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "installedApps", Required = Newtonsoft.Json.Required.Default)]
public IUserTeamworkInstalledAppsCollectionPage InstalledApps { get; set; }

}
}

0 comments on commit 385fa60

Please sign in to comment.